Class XXHash32
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.codec.digest.XXHash32
- All Implemented Interfaces:
Checksum
Implementation of the xxhash32 hash algorithm.
Copied from Commons Compress 1.14 https://git-wip-us.apache.org/repos/asf?p=commons-compress.git;a=blob;f=src/main/java/org/apache/commons/compress/compressors/lz4/XXHash32.java;h=a406ffc197449be594d46f0d2712b2d4786a1e68;hb=HEAD
NotThreadSafe
- Since:
- 1.11
- See Also:
-
Constructor Details
-
XXHash32
public XXHash32()Creates an XXHash32 instance with a seed of 0. -
XXHash32
public XXHash32(int seed) Creates an XXHash32 instance.- Parameters:
seed
- the seed to use
-
-
Method Details
-
reset
public void reset() -
update
public void update(int b) -
update
public void update(byte[] b, int off, int len) -
getValue
public long getValue()
-