Uses of Annotation Interface
com.google.common.hash.ParametricNullness
Packages that use ParametricNullness
-
Uses of ParametricNullness in com.google.common.hash
Method parameters in com.google.common.hash with annotations of type ParametricNullnessModifier and TypeMethodDescriptionboolean
Deprecated.void
Funnel.funnel
(T from, PrimitiveSink into) Sends a stream of data from thefrom
object into the sinkinto
.<T> HashCode
AbstractHashFunction.hashObject
(T instance, Funnel<? super T> funnel) <T> HashCode
HashFunction.hashObject
(T instance, Funnel<? super T> funnel) Shortcut fornewHasher().putObject(instance, funnel).hash()
.boolean
BloomFilter.mightContain
(T object) Returnstrue
if the element might have been put in this Bloom filter,false
if this is definitely not the case.<T> boolean
BloomFilter.Strategy.mightContain
(T object, Funnel<? super T> funnel, int numHashFunctions, BloomFilterStrategies.LockFreeBitArray bits) QueriesnumHashFunctions
bits of the given bit array, by hashing a user element; returnstrue
if and only if all selected bits are set.boolean
Puts an element into thisBloomFilter
.<T> boolean
BloomFilter.Strategy.put
(T object, Funnel<? super T> funnel, int numHashFunctions, BloomFilterStrategies.LockFreeBitArray bits) SetsnumHashFunctions
bits of the given bit array, by hashing a user element.<T> Hasher
<T> Hasher
A simple convenience forfunnel.funnel(object, this)
.
Predicate
interface; useBloomFilter.mightContain(T)
instead.