Package com.yahoo.search.result
Class DeepHitIterator
- java.lang.Object
-
- com.yahoo.search.result.DeepHitIterator
-
-
Constructor Summary
Constructors Constructor Description DeepHitIterator(Iterator<Hit> it, boolean ordered)
Create a deep hit iterator based on the given hit iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Hit
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
next
public Hit next() throws NoSuchElementException
- Specified by:
next
in interfaceIterator<Hit>
- Throws:
NoSuchElementException
-
remove
public void remove() throws UnsupportedOperationException, IllegalStateException
- Specified by:
remove
in interfaceIterator<Hit>
- Throws:
UnsupportedOperationException
IllegalStateException
-
-