Package com.yahoo.search.result
Class HitIterator
- java.lang.Object
-
- com.yahoo.search.result.HitIterator
-
-
Constructor Summary
Constructors Constructor Description HitIterator(HitGroup hitGroup, List<Hit> hits)
HitIterator(Result result, List<Hit> hits)
-
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 IllegalStateException
- Specified by:
remove
in interfaceIterator<Hit>
- Throws:
IllegalStateException
-
-