Top Fields Constructors Methods
net.jpountz.xxhash

pack-priv final Class XXHash32JNI

extends XXHash32
Class Inheritance
Static Imports
net.jpountz.util.ByteBufferUtils.checkRange, .SafeUtils.checkRange

Field Summary

Modifier and TypeField and Description
public static final XXHash32
private static XXHash32

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
hash(byte[] buf, int off, int len, int seed)

Implements abstract net.jpountz.xxhash.XXHash32.hash.

Compute the 32-bits hash of buf[off:off+len] using seed seed.
public int
hash(ByteBuffer buf, int off, int len, int seed)

Implements abstract net.jpountz.xxhash.XXHash32.hash.

Compute the hash of the given slice of the ByteBuffer.
Inherited from net.jpountz.xxhash.XXHash32:
hashtoString

Field Detail

INSTANCEback to summary
public static final XXHash32 INSTANCE
SAFE_INSTANCEback to summary
private static XXHash32 SAFE_INSTANCE

Constructor Detail

XXHash32JNIback to summary
pack-priv XXHash32JNI()

Method Detail

hashback to summary
public int hash(byte[] buf, int off, int len, int seed)

Implements abstract net.jpountz.xxhash.XXHash32.hash.

Doc from net.jpountz.xxhash.XXHash32.hash.

Compute the 32-bits hash of buf[off:off+len] using seed seed.

Annotations
@Override
hashback to summary
public int hash(ByteBuffer buf, int off, int len, int seed)

Implements abstract net.jpountz.xxhash.XXHash32.hash.

Doc from net.jpountz.xxhash.XXHash32.hash.

Compute the hash of the given slice of the ByteBuffer. position and limit are not modified.

Annotations
@Override