public class LongUtils
extends java.lang.Object
Modifier and Type | Method and 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) |
public static long longFromByteArray(byte[] bytes, int offset)
public static byte[] byteArrayFromLong(long l)
public static void longIntoByteArray(long l, int offset, byte[] bytes)
public static long longFromByteArrayLittleEndian(byte[] bytes, int offset)
public static void longIntoByteArrayLittleEndian(long l, int offset, byte[] bytes)
public static int fullHashLong(long l)
public static int hashLong(long l)