@CheckReturnValue @ParametersAreNonnullByDefault
Package com.google.common.hash
Hash functions and related structures.
See the Guava User Guide article on hashing.
-
Interface Summary Interface Description Funnel<T extends @Nullable java.lang.Object> An object which can send data from an object of typeT
into aPrimitiveSink
.Hasher APrimitiveSink
that can compute a hash code after reading the input.HashFunction A hash function is a collision-averse pure function that maps an arbitrary block of data to a number called a hash code.PrimitiveSink An object which can receive a stream of primitive values. -
Class Summary Class Description BloomFilter<T extends @Nullable java.lang.Object> A Bloom filter for instances ofT
.Funnels Funnels for common types.HashCode An immutable hash code of arbitrary bit length.Hashing Static methods to obtainHashFunction
instances, and other static hashing-related utilities.HashingInputStream AnInputStream
that maintains a hash of the data read from it.HashingOutputStream AnOutputStream
that maintains a hash of the data written to it.