com.mchange.lang
Class LongUtils

java.lang.Object
  extended by com.mchange.lang.LongUtils

public class LongUtils
extends Object


Method Summary
static byte[] byteArrayFromLong(long l)
           
static int fullHashLong(long l)
           
static int hashLong(long l)
           
static long longFromByteArray(byte[] bytes, int offset)
           
static void longIntoByteArray(long l, int offset, byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)

fullHashLong

public static int fullHashLong(long l)

hashLong

public static int hashLong(long l)