Package org.apache.commons.codec.digest
Class MurmurHash
- java.lang.Object
-
- org.apache.commons.codec.digest.MurmurHash
-
final class MurmurHash extends java.lang.ObjectCommons implementation methods for MurmurHash* classes in this package.
-
-
Constructor Summary
Constructors Constructor Description MurmurHash()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static intgetLittleEndianInt(byte[] data, int index)Gets the little-endian int from 4 bytes starting at the specified index.(package private) static longgetLittleEndianLong(byte[] data, int index)Gets the little-endian long from 8 bytes starting at the specified index.
-
-
-
Method Detail
-
getLittleEndianInt
static int getLittleEndianInt(byte[] data, int index)Gets the little-endian int from 4 bytes starting at the specified index.- Parameters:
data- The data.index- The index.- Returns:
- The little-endian int.
-
getLittleEndianLong
static long getLittleEndianLong(byte[] data, int index)Gets the little-endian long from 8 bytes starting at the specified index.- Parameters:
data- The data.index- The index.- Returns:
- The little-endian long.
-
-