|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Funnel | |
---|---|
com.google.common.hash | Hash functions and related structures. |
Uses of Funnel in com.google.common.hash |
---|
Methods in com.google.common.hash that return Funnel | |
---|---|
static Funnel<byte[]> |
Funnels.byteArrayFunnel()
Returns a funnel that extracts the bytes from a byte array. |
static Funnel<Integer> |
Funnels.integerFunnel()
Returns a funnel for integers. |
static Funnel<Long> |
Funnels.longFunnel()
Returns a funnel for longs. |
static Funnel<CharSequence> |
Funnels.stringFunnel()
Returns a funnel that extracts the characters from a CharSequence . |
Methods in com.google.common.hash with parameters of type Funnel | ||
---|---|---|
static
|
BloomFilter.create(Funnel<T> funnel,
int expectedInsertions)
Creates a Builder of a BloomFilter , with the expected number
of insertions, and a default expected false positive probability of 3%. |
|
static
|
BloomFilter.create(Funnel<T> funnel,
int expectedInsertions,
double falsePositiveProbability)
Creates a Builder of a BloomFilter , with the expected number
of insertions and expected false positive probability. |
|
|
Hasher.putObject(T instance,
Funnel<? super T> funnel)
A simple convenience for funnel.funnel(object, this) . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |