|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.HitIterator
public class HitIterator
An iterator over Hits that provides lazy fetching of each document.
Hits.iterator() returns an instance of this class. Calls to next()
return a Hit instance.
| Method Summary | |
|---|---|
boolean |
hasNext()
|
int |
length()
Returns the total number of hits. |
Object |
next()
Returns a Hit instance representing the next hit in Hits. |
void |
remove()
Unsupported operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface IteratorHits.public Object next()
Hit instance representing the next hit in Hits.
next in interface IteratorHit.public void remove()
remove in interface IteratorUnsupportedOperationExceptionpublic int length()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||