abstract static class PackedInts.MutableImpl extends PackedInts.Mutable
Modifier and Type | Field and Description |
---|---|
protected int |
bitsPerValue |
protected int |
valueCount |
Modifier | Constructor and Description |
---|---|
protected |
MutableImpl(int valueCount,
int bitsPerValue) |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerValue() |
int |
size() |
java.lang.String |
toString() |
clear, fill, getFormat, save, set, set
get, get
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildResources, ramBytesUsed
protected final int valueCount
protected final int bitsPerValue
public final int getBitsPerValue()
getBitsPerValue
in class PackedInts.Mutable
bitsPerValue * #values
as implementations are free to
use non-space-optimal packing of bits.public final int size()
size
in class PackedInts.Reader
public java.lang.String toString()
toString
in class java.lang.Object