private static class DocIDMerger.SequentialDocIDMerger<T extends DocIDMerger.Sub> extends DocIDMerger<T>
DocIDMerger.Sub
Modifier and Type | Field and Description |
---|---|
private T |
current |
private int |
nextIndex |
private java.util.List<T> |
subs |
Modifier | Constructor and Description |
---|---|
private |
SequentialDocIDMerger(java.util.List<T> subs) |
Modifier and Type | Method and Description |
---|---|
T |
next()
Returns null when done.
|
void |
reset()
Reuse API, currently only used by postings during merge
|
of, of
private final java.util.List<T extends DocIDMerger.Sub> subs
private T extends DocIDMerger.Sub current
private int nextIndex
private SequentialDocIDMerger(java.util.List<T> subs) throws java.io.IOException
java.io.IOException
public void reset() throws java.io.IOException
DocIDMerger
reset
in class DocIDMerger<T extends DocIDMerger.Sub>
java.io.IOException
public T next() throws java.io.IOException
DocIDMerger
next
in class DocIDMerger<T extends DocIDMerger.Sub>
java.io.IOException