Package com.google.common.hash
Class Crc32cHashFunction.Crc32cHasher
- java.lang.Object
-
- com.google.common.hash.AbstractHasher
-
- com.google.common.hash.AbstractByteHasher
-
- com.google.common.hash.Crc32cHashFunction.Crc32cHasher
-
- All Implemented Interfaces:
Hasher
,PrimitiveSink
- Enclosing class:
- Crc32cHashFunction
static final class Crc32cHashFunction.Crc32cHasher extends AbstractByteHasher
-
-
Constructor Summary
Constructors Constructor Description Crc32cHasher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashCode
hash()
Computes a hash code based on the data that have been provided to this hasher.void
update(byte b)
Updates this hasher with the given byte.-
Methods inherited from class com.google.common.hash.AbstractByteHasher
putByte, putBytes, putBytes, putBytes, putChar, putInt, putLong, putShort, update, update, update
-
Methods inherited from class com.google.common.hash.AbstractHasher
putBoolean, putDouble, putFloat, putObject, putString, putUnencodedChars
-
-
-
-
Method Detail
-
update
public void update(byte b)
Description copied from class:AbstractByteHasher
Updates this hasher with the given byte.- Specified by:
update
in classAbstractByteHasher
-
-