Uses of Package
com.google.common.hash
Packages that use com.google.common.hash
Package
Description
Hash functions and related structures.
Utility methods and classes for I/O; for example input streams, output streams, readers, writers,
and files.
-
Classes in com.google.common.hash used by com.google.common.hashClassDescriptionAbstract
Hasher
that handles converting primitives to bytes using a scratchByteBuffer
and streams all bytes to a sink to compute the hash.An abstract composition of multiple hash functions.An abstract implementation ofHasher
, which only requires subtypes to implementHasher.putByte(byte)
.Skeleton implementation ofHashFunction
in terms ofHashFunction.newHasher()
.Skeleton implementation ofHashFunction
, appropriate for non-streaming algorithms.A convenience base class for implementors ofHasher
; handles accumulating data until an entire "chunk" (of implementation-dependent length) is ready to be hashed.A Bloom filter for instances ofT
.A strategy to translate T instances, tonumHashFunctions
bit indexes.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.Models a lock-free array of bits.Marks all "top-level" types as non-null in a way that is recognized by Kotlin.An object which can send data from an object of typeT
into aPrimitiveSink
.An immutable hash code of arbitrary bit length.APrimitiveSink
that can compute a hash code after reading the input.A hash function is a collision-averse pure function that maps an arbitrary block of data to a number called a hash code.Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.Explicitly named subinterface ofSupplier
that can be marked @invalid reference
Immutable
Fallback implementation for when Unsafe is not available in our current environment.Common interface for retrieving a 64-bit long from a little-endian byte array.The only reference to Unsafe is in this nested class.Abstract interface for objects that can concurrently add longs.Annotates a "top-level" type-variable usage that takes its nullness from the type argument supplied by the user of the class.An object which can receive a stream of primitive values.A package-local class holding common representation and mechanics for classes supporting dynamic striping on 64bit values.Padded variant of AtomicLong supporting only raw accesses plus CAS. -
Classes in com.google.common.hash used by com.google.common.ioClassDescriptionAn immutable hash code of arbitrary bit length.A hash function is a collision-averse pure function that maps an arbitrary block of data to a number called a hash code.