public class Murmur3F extends Object implements Checksum128
| Modifier and Type | Method and Description |
|---|---|
long |
getValue() |
BigInteger |
getValueBigInteger()
Positive value.
|
byte[] |
getValueBytesBigEndian()
Big endian is the default in Java / network byte order.
|
byte[] |
getValueBytesLittleEndian()
Big endian is used by most machines natively.
|
String |
getValueHexString()
Padded with leading 0s to ensure length of 32.
|
long |
getValueHigh()
Returns the higher 64 bits of the 128 bit hash.
|
void |
reset() |
void |
update(byte[] b) |
void |
update(byte[] b,
int off,
int len) |
void |
update(int b) |
void |
updateLongBE(long value)
Consider
updateLongLE(long) for better performance if you do not rely on big endian (BE) byte order. |
void |
updateLongLE(long value)
Special update method to hash long values very efficiently using Java's native little endian (LE) byte order.
|
public void updateLongLE(long value)
public void updateLongBE(long value)
updateLongLE(long) for better performance if you do not rely on big endian (BE) byte order.public void update(byte[] b)
public long getValueHigh()
getValueHigh in interface Checksum128public BigInteger getValueBigInteger()
getValueBigInteger in interface Checksum128public String getValueHexString()
getValueHexString in interface Checksum128public byte[] getValueBytesBigEndian()
Checksum128getValueBytesBigEndian in interface Checksum128public byte[] getValueBytesLittleEndian()
Checksum128getValueBytesLittleEndian in interface Checksum128Copyright © 2016. All rights reserved.