Java com.google.common.hash BloomFilter fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.hash BloomFilter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.hash BloomFilter.

The text is from its open source code.

Method

BloomFiltercreate(Funnel funnel, int expectedInsertions, double fpp)
Creates a BloomFilter BloomFilter with the expected number of insertions and expected false positive probability.
BloomFiltercreate(Funnel funnel, long expectedInsertions, double fpp)
Creates a BloomFilter BloomFilter with the expected number of insertions and expected false positive probability.
BloomFiltercreate(Funnel funnel, int expectedInsertions)
Creates a BloomFilter BloomFilter with the expected number of insertions and a default expected false positive probability of 3%.
BloomFiltercreate(Funnel funnel, long expectedInsertions)
Creates a BloomFilter BloomFilter with the expected number of insertions and a default expected false positive probability of 3%.
booleanmightContain(T object)
Returns true if the element might have been put in this Bloom filter, false if this is definitely not the case.
booleanput(T object)
Puts an element into this BloomFilter .
BloomFilterreadFrom(InputStream in, Funnel funnel)
Reads a byte stream, which was written by #writeTo(OutputStream) , into a BloomFilter .
voidwriteTo(OutputStream out)
Writes this BloomFilter to an output stream, with a custom format (not Java serialization).