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 int
fullHashLong(long l)
static int
hashLong(long l)
static long
longFromByteArray(byte[] bytes, int offset)
static long
longFromByteArrayLittleEndian(byte[] bytes, int offset)
static void
longIntoByteArray(long l, int offset, byte[] bytes)
static void
longIntoByteArrayLittleEndian(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)
-
-