abstract static class PackedInts.ReaderIteratorImpl extends java.lang.Object implements PackedInts.ReaderIterator
Modifier and Type | Field and Description |
---|---|
protected int |
bitsPerValue |
protected DataInput |
in |
protected int |
valueCount |
Modifier | Constructor and Description |
---|---|
protected |
ReaderIteratorImpl(int valueCount,
int bitsPerValue,
DataInput in) |
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerValue()
Returns number of bits per value
|
long |
next()
Returns next value
|
int |
size()
Returns number of values
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
next, ord
protected final DataInput in
protected final int bitsPerValue
protected final int valueCount
protected ReaderIteratorImpl(int valueCount, int bitsPerValue, DataInput in)
public long next() throws java.io.IOException
PackedInts.ReaderIterator
next
in interface PackedInts.ReaderIterator
java.io.IOException
public int getBitsPerValue()
PackedInts.ReaderIterator
getBitsPerValue
in interface PackedInts.ReaderIterator
public int size()
PackedInts.ReaderIterator
size
in interface PackedInts.ReaderIterator