Hash functions and related structures.
-
Returns a funnel that extracts the bytes from a byte
array.
Returns a funnel for integers.
Returns a funnel for longs.
Returns a funnel that processes an Iterable
by funneling its elements in iteration
order with the specified funnel.
Returns a funnel that encodes the characters of a CharSequence
with the specified
Charset
.
Returns a funnel that extracts the characters from a CharSequence
, a character at a
time, without performing any encoding.
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%.
BloomFilter.create(Funnel<? super T> funnel,
int expectedInsertions,
double fpp)
Creates a
BloomFilter
with the expected number of insertions and expected false
positive probability.
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%.
BloomFilter.create(Funnel<? super T> funnel,
long expectedInsertions,
double fpp)
Creates a
BloomFilter
with the expected number of insertions and expected false
positive probability.
Shortcut for newHasher().putObject(instance, funnel).hash()
.
A simple convenience for funnel.funnel(object, this)
.
Returns a funnel that processes an Iterable
by funneling its elements in iteration
order with the specified funnel.
Returns a
Collector
expecting the specified number of insertions, and yielding a
BloomFilter
with false positive probability 3%.
Returns a
Collector
expecting the specified number of insertions, and yielding a
BloomFilter
with the specified expected false positive probability.