Top Fields Constructors Methods
net.jpountz.xxhash

pack-priv final Class XXHash64JNI

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

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

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

Implements abstract net.jpountz.xxhash.XXHash64.hash.

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

Implements abstract net.jpountz.xxhash.XXHash64.hash.

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

Field Detail

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

Constructor Detail

XXHash64JNIback to summary
pack-priv XXHash64JNI()

Method Detail

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

Implements abstract net.jpountz.xxhash.XXHash64.hash.

Doc from net.jpountz.xxhash.XXHash64.hash.

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

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

Implements abstract net.jpountz.xxhash.XXHash64.hash.

Doc from net.jpountz.xxhash.XXHash64.hash.

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

Annotations
@Override