public class LabelAwareIteratorWrapper extends Object implements LabelAwareIterator
| Constructor and Description |
|---|
LabelAwareIteratorWrapper(LabelAwareIterator delegate,
LabelsSource sink) |
| Modifier and Type | Method and Description |
|---|---|
LabelsSource |
getLabelsSource() |
boolean |
hasNext() |
boolean |
hasNextDocument() |
LabelledDocument |
next() |
LabelledDocument |
nextDocument() |
void |
remove() |
void |
reset() |
void |
shutdown() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic LabelAwareIteratorWrapper(LabelAwareIterator delegate, LabelsSource sink)
public boolean hasNext()
hasNext in interface Iterator<LabelledDocument>public boolean hasNextDocument()
hasNextDocument in interface LabelAwareIteratorpublic LabelsSource getLabelsSource()
getLabelsSource in interface LabelAwareIteratorpublic LabelledDocument next()
next in interface Iterator<LabelledDocument>public void remove()
remove in interface Iterator<LabelledDocument>public LabelledDocument nextDocument()
nextDocument in interface LabelAwareIteratorpublic void reset()
reset in interface LabelAwareIteratorpublic void shutdown()
shutdown in interface LabelAwareIteratorCopyright © 2022. All rights reserved.