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, waitnext, ordprotected 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.ReaderIteratornext in interface PackedInts.ReaderIteratorjava.io.IOExceptionpublic int getBitsPerValue()
PackedInts.ReaderIteratorgetBitsPerValue in interface PackedInts.ReaderIteratorpublic int size()
PackedInts.ReaderIteratorsize in interface PackedInts.ReaderIterator