|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.util.IntBlockPool.SliceReader
public static final class IntBlockPool.SliceReader
A IntBlockPool.SliceReader
that can read int slices written by a IntBlockPool.SliceWriter
Constructor Summary | |
---|---|
IntBlockPool.SliceReader(IntBlockPool pool)
Creates a new IntBlockPool.SliceReader on the given pool |
Method Summary | |
---|---|
boolean |
endOfSlice()
Returns true iff the current slice is fully read. |
int |
readInt()
Reads the next int from the current slice and returns it. |
void |
reset(int startOffset,
int endOffset)
Resets the reader to a slice give the slices absolute start and end offset in the pool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntBlockPool.SliceReader(IntBlockPool pool)
IntBlockPool.SliceReader
on the given pool
Method Detail |
---|
public void reset(int startOffset, int endOffset)
public boolean endOfSlice()
true
iff the current slice is fully read. If this
method returns true
readInt()
should not
be called again on this slice.
public int readInt()
endOfSlice()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |