static <T> BloomFilter<T> |
BloomFilter.create(Funnel<? super T> funnel,
int expectedInsertions) |
Creates a BloomFilter with the expected number of insertions and a
default expected false positive probability of 3%.
|
static <T> BloomFilter<T> |
BloomFilter.create(Funnel<? super T> funnel,
int expectedInsertions,
double fpp) |
Creates a BloomFilter with the expected number of insertions and
expected false positive probability.
|
static <T> BloomFilter<T> |
BloomFilter.create(Funnel<? super T> funnel,
long expectedInsertions) |
Creates a BloomFilter with the expected number of insertions and a
default expected false positive probability of 3%.
|
static <T> BloomFilter<T> |
BloomFilter.create(Funnel<? super T> funnel,
long expectedInsertions,
double fpp) |
Creates a BloomFilter with the expected number of insertions and
expected false positive probability.
|
(package private) static <T> BloomFilter<T> |
BloomFilter.create(Funnel<? super T> funnel,
long expectedInsertions,
double fpp,
BloomFilter.Strategy strategy) |
|
<T> HashCode |
AbstractNonStreamingHashFunction.hashObject(T instance,
Funnel<? super T> funnel) |
|
<T> HashCode |
AbstractStreamingHashFunction.hashObject(T instance,
Funnel<? super T> funnel) |
|
<T> HashCode |
HashFunction.hashObject(T instance,
Funnel<? super T> funnel) |
Shortcut for newHasher().putObject(instance, funnel).hash() .
|
<T> boolean |
BloomFilter.Strategy.mightContain(T object,
Funnel<? super T> funnel,
int numHashFunctions,
BloomFilterStrategies.BitArray bits) |
Queries numHashFunctions bits of the given bit array, by hashing a user element;
returns true if and only if all selected bits are set.
|
<T> boolean |
BloomFilter.Strategy.put(T object,
Funnel<? super T> funnel,
int numHashFunctions,
BloomFilterStrategies.BitArray bits) |
Sets numHashFunctions bits of the given bit array, by hashing a user element.
|
<T> Hasher |
AbstractByteHasher.putObject(T instance,
Funnel<? super T> funnel) |
|
<T> Hasher |
AbstractNonStreamingHashFunction.BufferingHasher.putObject(T instance,
Funnel<? super T> funnel) |
|
<T> Hasher |
AbstractStreamingHashFunction.AbstractStreamingHasher.putObject(T instance,
Funnel<? super T> funnel) |
|
<T> Hasher |
Hasher.putObject(T instance,
Funnel<? super T> funnel) |
A simple convenience for funnel.funnel(object, this) .
|
static <T> BloomFilter<T> |
BloomFilter.readFrom(java.io.InputStream in,
Funnel<T> funnel) |
|
static <E> Funnel<java.lang.Iterable<? extends E>> |
Funnels.sequentialFunnel(Funnel<E> elementFunnel) |
Returns a funnel that processes an Iterable by funneling its elements in iteration
order with the specified funnel.
|