Modifier and Type | Field and Description |
---|---|
private boolean |
canRemove |
private Iterator<Hit> |
it |
private Hit |
next |
private boolean |
ordered |
private List<Iterator<Hit>> |
stack |
Constructor and Description |
---|
DeepHitIterator(Iterator<Hit> it,
boolean ordered)
Create a deep hit iterator based on the given hit iterator.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
getNext() |
boolean |
hasNext() |
Hit |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private final boolean ordered
private boolean canRemove
private Hit next
public Hit next() throws NoSuchElementException
next
in interface Iterator<Hit>
NoSuchElementException
public void remove() throws UnsupportedOperationException, IllegalStateException
remove
in interface Iterator<Hit>
UnsupportedOperationException
IllegalStateException
private boolean getNext()
Copyright © 2018. All rights reserved.