Java bloom filter implementation