edu.berkeley.nlp.lm.bits
Class BitUtils
java.lang.Object
edu.berkeley.nlp.lm.bits.BitUtils
public class BitUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitUtils
public BitUtils()
getHighInt
public static int getHighInt(long key)
abs
public static int abs(int a_)
abs
public static long abs(long a_)
getLowInt
public static int getLowInt(long key)
getLowLong
public static long getLowLong(long key)
setLowInt
public static long setLowInt(long key,
int i)
setHighInt
public static long setHighInt(long key,
int i)
max
public static long max(long a_,
long b)
min
public static long min(long a_,
long b)
combineInts
public static long combineInts(int lowInt,
int highInt)
main
public static void main(String[] argv)