Top Constructors Methods
com.mchange.lang

public Class LongUtils

extends Object
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static byte[]
public static int
fullHashLong(long l)

public static int
hashLong(long l)

public static long
longFromByteArray(byte[] bytes, int offset)

public static long
longFromByteArrayLittleEndian(byte[] bytes, int offset)

public static void
longIntoByteArray(long l, int offset, byte[] bytes)

public static void
longIntoByteArrayLittleEndian(long l, int offset, byte[] bytes)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

LongUtilsback to summary
private LongUtils()

Method Detail

byteArrayFromLongback to summary
public static byte[] byteArrayFromLong(long l)
fullHashLongback to summary
public static int fullHashLong(long l)
hashLongback to summary
public static int hashLong(long l)
longFromByteArrayback to summary
public static long longFromByteArray(byte[] bytes, int offset)
longFromByteArrayLittleEndianback to summary
public static long longFromByteArrayLittleEndian(byte[] bytes, int offset)
longIntoByteArrayback to summary
public static void longIntoByteArray(long l, int offset, byte[] bytes)
longIntoByteArrayLittleEndianback to summary
public static void longIntoByteArrayLittleEndian(long l, int offset, byte[] bytes)