org.jpedal.jbig2.util
Class BinaryOperation
java.lang.Object
org.jpedal.jbig2.util.BinaryOperation
public class BinaryOperation
- extends java.lang.Object
|
Method Summary |
static long |
bit32Shift(long number,
int shift,
int direction)
|
static int |
bit8Shift(int number,
int shift,
int direction)
|
static int |
getInt16(short[] number)
|
static int |
getInt32(byte[] number)
|
static int |
getInt32(short[] number)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEFT_SHIFT
public static final int LEFT_SHIFT
- See Also:
- Constant Field Values
RIGHT_SHIFT
public static final int RIGHT_SHIFT
- See Also:
- Constant Field Values
BinaryOperation
public BinaryOperation()
getInt32
public static int getInt32(short[] number)
getInt16
public static int getInt16(short[] number)
bit32Shift
public static long bit32Shift(long number,
int shift,
int direction)
bit8Shift
public static int bit8Shift(int number,
int shift,
int direction)
getInt32
public static int getInt32(byte[] number)