Package org.greenrobot.essentials.hash
Interface Checksum128
-
- All Superinterfaces:
java.util.zip.Checksum
- All Known Implementing Classes:
Murmur3F
public interface Checksum128 extends java.util.zip.ChecksumChecksum interface to access 128 bit in various ways.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.math.BigIntegergetValueBigInteger()Positive value.byte[]getValueBytesBigEndian()Big endian is the default in Java / network byte order.byte[]getValueBytesLittleEndian()Big endian is used by most machines natively.java.lang.StringgetValueHexString()Padded with leading 0s to ensure length of 32.longgetValueHigh()Returns the higher 64 bits of the 128 bit hash.
-
-
-
Method Detail
-
getValueHigh
long getValueHigh()
Returns the higher 64 bits of the 128 bit hash.
-
getValueBigInteger
java.math.BigInteger getValueBigInteger()
Positive value.
-
getValueHexString
java.lang.String getValueHexString()
Padded with leading 0s to ensure length of 32.
-
getValueBytesBigEndian
byte[] getValueBytesBigEndian()
Big endian is the default in Java / network byte order.
-
getValueBytesLittleEndian
byte[] getValueBytesLittleEndian()
Big endian is used by most machines natively.
-
-