|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocIterator
Simple Iterator of document Ids which may include score information.
The order of the documents is determined by the context in which the DocIterator instance was retrieved.
Method Summary | |
---|---|
int |
nextDoc()
Returns the next document id if hasNext()==true
This method is equivalent to next() , but avoids the creation
of an Integer Object. |
float |
score()
Returns the score for the document just returned by nextDoc() |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
int nextDoc()
hasNext()==true
This method is equivalent to next()
, but avoids the creation
of an Integer Object.
Iterator.next()
float score()
nextDoc()
The value returned may be meaningless depending on the context in which the DocIterator instance was retrieved.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |