public class XXHash32
extends java.lang.Object
implements java.util.zip.Checksum
Constructor and Description |
---|
XXHash32()
Creates an XXHash32 instance with a seed of 0.
|
XXHash32(int seed)
Creates an XXHash32 instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getValue() |
void |
reset() |
void |
update(byte[] b,
int off,
int len) |
void |
update(int b) |
public XXHash32()
public XXHash32(int seed)
seed
- the seed to usepublic void reset()
reset
in interface java.util.zip.Checksum
public void update(int b)
update
in interface java.util.zip.Checksum
public void update(byte[] b, int off, int len)
update
in interface java.util.zip.Checksum
public long getValue()
getValue
in interface java.util.zip.Checksum
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"