static <T extends @Nullable Object> 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 extends @Nullable Object> 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 extends @Nullable Object> 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 extends @Nullable Object> 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.
|
<T extends @Nullable Object> HashCode |
HashFunction.hashObject(T instance,
Funnel<? super T> funnel) |
Shortcut for newHasher().putObject(instance, funnel).hash() .
|
<T extends @Nullable Object> Hasher |
Hasher.putObject(T instance,
Funnel<? super T> funnel) |
A simple convenience for funnel.funnel(object, this) .
|
static <T extends @Nullable Object> BloomFilter<T> |
BloomFilter.readFrom(InputStream in,
Funnel<? super T> funnel) |
|
static <E extends @Nullable Object> Funnel<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.
|
static <T extends @Nullable Object> Collector<T,?,BloomFilter<T>> |
BloomFilter.toBloomFilter(Funnel<? super T> funnel,
long expectedInsertions) |
Returns a Collector expecting the specified number of insertions, and yielding a BloomFilter with false positive probability 3%.
|
static <T extends @Nullable Object> Collector<T,?,BloomFilter<T>> |
BloomFilter.toBloomFilter(Funnel<? super T> funnel,
long expectedInsertions,
double fpp) |
Returns a Collector expecting the specified number of insertions, and yielding a BloomFilter with the specified expected false positive probability.
|