Package | Description |
---|---|
com.google.common.hash |
Hash functions and related structures.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
BloomFilterStrategies
Collections of strategies of generating the k * log(M) bits required for an element to be mapped
to a BloomFilter of M bits and k hash functions.
|
Modifier and Type | Field and Description |
---|---|
private BloomFilter.Strategy |
BloomFilter.strategy
The strategy we employ to map an element T to
numHashFunctions bit indexes. |
(package private) BloomFilter.Strategy |
BloomFilter.SerialForm.strategy |
Modifier and Type | Method and Description |
---|---|
(package private) static <T> BloomFilter<T> |
BloomFilter.create(Funnel<? super T> funnel,
long expectedInsertions,
double fpp,
BloomFilter.Strategy strategy) |
Constructor and Description |
---|
BloomFilter(BloomFilterStrategies.LockFreeBitArray bits,
int numHashFunctions,
Funnel<? super T> funnel,
BloomFilter.Strategy strategy)
Creates a BloomFilter.
|