class BloomFilter implements Serializable {

    public synchronized void add(byte[] bytes) {
        int[] hashes = createHashes(bytes, k);
        for (int hash : hashes)
            bitset.set(Math.abs(hash % bitSetSize), true);
        numberOfAddedElements ++;
    }

    public  BloomFilter(double c, int n, int k);
    public  BloomFilter(int bitSetSize, int expectedNumberOElements);
    public  BloomFilter(double falsePositiveProbability, int expectedNumberOfElements);
    public  BloomFilter(int bitSetSize, int expectedNumberOfFilterElements, int actualNumberOfFilterElements, BitSet filterData);

}