public class PackedBits32 extends java.lang.Object implements PackedBits
| Modifier and Type | Field and Description |
|---|---|
int[] |
data
Integer array used to store bits
|
int |
size
Number of bits stored
|
| Constructor and Description |
|---|
PackedBits32() |
PackedBits32(int totalBits) |
| Modifier and Type | Method and Description |
|---|---|
int |
arrayLength() |
int |
elementBits() |
int |
get(int which) |
int |
length() |
void |
resize(int totalBits) |
void |
set(int which,
int value) |
void |
zero() |
public int[] data
public int size
public PackedBits32(int totalBits)
public PackedBits32()
public int get(int which)
get in interface PackedBitspublic void set(int which,
int value)
set in interface PackedBitspublic void resize(int totalBits)
resize in interface PackedBitspublic void zero()
zero in interface PackedBitspublic int length()
length in interface PackedBitspublic int arrayLength()
arrayLength in interface PackedBitspublic int elementBits()
elementBits in interface PackedBits