Package com.mchange.lang
Class LongUtils
- java.lang.Object
-
- com.mchange.lang.LongUtils
-
public class LongUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]byteArrayFromLong(long l)static intfullHashLong(long l)static inthashLong(long l)static longlongFromByteArray(byte[] bytes, int offset)static longlongFromByteArrayLittleEndian(byte[] bytes, int offset)static voidlongIntoByteArray(long l, int offset, byte[] bytes)static voidlongIntoByteArrayLittleEndian(long l, int offset, byte[] bytes)
-
-
-
Method Detail
-
longFromByteArray
public static long longFromByteArray(byte[] bytes, int offset)
-
byteArrayFromLong
public static byte[] byteArrayFromLong(long l)
-
longIntoByteArray
public static void longIntoByteArray(long l, int offset, byte[] bytes)
-
longFromByteArrayLittleEndian
public static long longFromByteArrayLittleEndian(byte[] bytes, int offset)
-
longIntoByteArrayLittleEndian
public static void longIntoByteArrayLittleEndian(long l, int offset, byte[] bytes)
-
fullHashLong
public static int fullHashLong(long l)
-
hashLong
public static int hashLong(long l)
-
-