public class WordPackedArray extends Object
Modifier and Type | Field and Description |
---|---|
private long[] |
array |
private int |
length |
private long |
maxValue |
private int |
unitSize |
Constructor and Description |
---|
WordPackedArray(int unitSize,
int length) |
WordPackedArray(int unitSize,
int length,
long[] array) |
Modifier and Type | Method and Description |
---|---|
int |
get(int index) |
long[] |
getAlignedArray() |
int |
getUnitSize() |
void |
set(int index,
int value) |
private final long[] array
private final int unitSize
private final long maxValue
private final int length