edu.berkeley.nlp.lm.bits
Class BitUtils

java.lang.Object
  extended by edu.berkeley.nlp.lm.bits.BitUtils

public class BitUtils
extends Object


Constructor Summary
BitUtils()
           
 
Method Summary
static int abs(int a_)
           
static long abs(long a_)
           
static long combineInts(int lowInt, int highInt)
           
static int getHighInt(long key)
           
static int getLowInt(long key)
           
static long getLowLong(long key)
           
static void main(String[] argv)
           
static long max(long a_, long b)
           
static long min(long a_, long b)
           
static long setHighInt(long key, int i)
           
static long setLowInt(long key, int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitUtils

public BitUtils()
Method Detail

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)