Package com.yahoo.search.result
Class HitIterator
- java.lang.Object
-
- com.yahoo.search.result.HitIterator
-
-
Constructor Summary
Constructors Constructor Description HitIterator(HitGroup hitGroup, java.util.List<Hit> hits)
HitIterator(Result result, java.util.List<Hit> hits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Hit
next()
void
remove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<Hit>
-
next
public Hit next() throws java.util.NoSuchElementException
- Specified by:
next
in interfacejava.util.Iterator<Hit>
- Throws:
java.util.NoSuchElementException
-
remove
public void remove() throws java.lang.IllegalStateException
- Specified by:
remove
in interfacejava.util.Iterator<Hit>
- Throws:
java.lang.IllegalStateException
-
-