Package com.google.common.hash
Class Hashing.ConcatenatedHashFunction
java.lang.Object
com.google.common.hash.AbstractHashFunction
com.google.common.hash.AbstractCompositeHashFunction
com.google.common.hash.Hashing.ConcatenatedHashFunction
- All Implemented Interfaces:
HashFunction
- Enclosing class:
Hashing
-
Field Summary
Fields inherited from class com.google.common.hash.AbstractCompositeHashFunction
functions -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.hash.AbstractCompositeHashFunction
newHasher, newHasherMethods inherited from class com.google.common.hash.AbstractHashFunction
hashBytes, hashBytes, hashBytes, hashInt, hashLong, hashObject, hashString, hashUnencodedChars
-
Constructor Details
-
ConcatenatedHashFunction
-
-
Method Details
-
makeHash
Description copied from class:AbstractCompositeHashFunctionConstructs aHashCodefrom theHasherobjects of the functions. Each of them has consumed the entire input and they are ready to output aHashCode. The order of the hashers are the same order as the functions given to the constructor.- Specified by:
makeHashin classAbstractCompositeHashFunction
-
bits
public int bits()Description copied from interface:HashFunctionReturns the number of bits (a multiple of 32) that each hash code produced by this hash function has. -
equals
-
hashCode
public int hashCode()
-