@CheckReturnValue @ParametersAreNonnullByDefault
Package com.google.common.hash
Hash functions and related structures.
See the Guava User Guide article on hashing.
-
Interface Summary Interface Description BloomFilter.Strategy A strategy to translate T instances, tonumHashFunctions
bit indexes.Funnel<T> 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.LittleEndianByteArray.LittleEndianBytes Common interface for retrieving a 64-bit long from a little-endian byte array.PrimitiveSink An object which can receive a stream of primitive values. -
Enum Summary Enum Description BloomFilterStrategies Collections of strategies of generating the k * log(M) bits required for an element to be mapped to a BloomFilter of M bits and k hash functions.Funnels.ByteArrayFunnel Funnels.IntegerFunnel Funnels.LongFunnel Funnels.UnencodedCharsFunnel Hashing.ChecksumType LittleEndianByteArray.JavaLittleEndianBytes Fallback implementation for when Unsafe is not available in our current environment.LittleEndianByteArray.UnsafeByteArray The only reference to Unsafe is in this nested class.