public class PositionIterator extends Object implements Iterator<TermPosition>
Modifier and Type | Field and Description |
---|---|
protected int |
freq |
protected IndexFieldTerm |
indexFieldTerm |
protected TermPosition |
termPosition |
Constructor and Description |
---|
PositionIterator(IndexFieldTerm indexFieldTerm) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
TermPosition |
next() |
void |
nextDoc() |
void |
remove() |
Iterator<TermPosition> |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected IndexFieldTerm indexFieldTerm
protected int freq
protected final TermPosition termPosition
public PositionIterator(IndexFieldTerm indexFieldTerm)
public void remove()
remove
in interface Iterator<TermPosition>
public boolean hasNext()
hasNext
in interface Iterator<TermPosition>
public TermPosition next()
next
in interface Iterator<TermPosition>
public void nextDoc() throws IOException
IOException
public Iterator<TermPosition> reset()
Copyright © 2009–2016. All rights reserved.