ereinion.math
Class BinByte
java.lang.Object
|
+--ereinion.math.BinByte
- public class BinByte
- extends java.lang.Object
Wrapper class per un byte che offre operazioni di manipolazione sui singoli bit.
- Since:
- EPR 1.0
- Version:
- 1.0, 21/11/2002
- Author:
- Ereinion
Constructor Summary |
BinByte(boolean[] bits)
|
BinByte(boolean[] bits,
int offset)
|
BinByte(boolean[] bits,
int offset,
int length)
|
BinByte(byte value)
|
BinByte(int value,
boolean signed)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinByte
public BinByte(boolean[] bits)
BinByte
public BinByte(boolean[] bits,
int offset)
BinByte
public BinByte(boolean[] bits,
int offset,
int length)
BinByte
public BinByte(int value,
boolean signed)
BinByte
public BinByte(byte value)
toBits
public boolean[] toBits()
toSigned
public int toSigned()
toUnsigned
public int toUnsigned()