static <T extends @Nullable java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.Object> HashCode |
HashFunction.hashObject(T instance,
Funnel<? super T> funnel) |
Shortcut for newHasher().putObject(instance, funnel).hash() .
|
<T extends @Nullable java.lang.Object> Hasher |
Hasher.putObject(T instance,
Funnel<? super T> funnel) |
A simple convenience for funnel.funnel(object, this) .
|
static <T extends @Nullable java.lang.Object> BloomFilter<T> |
BloomFilter.readFrom(java.io.InputStream in,
Funnel<? super T> funnel) |
|
static <E extends @Nullable java.lang.Object> 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.
|
static <T extends @Nullable java.lang.Object> java.util.stream.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 java.lang.Object> java.util.stream.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.
|