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, newHasher
Methods 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:AbstractCompositeHashFunction
Constructs aHashCode
from theHasher
objects 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:
makeHash
in classAbstractCompositeHashFunction
-
bits
public int bits()Description copied from interface:HashFunction
Returns the number of bits (a multiple of 32) that each hash code produced by this hash function has. -
equals
-
hashCode
public int hashCode()
-