|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HippoDocumentIterator<E>
Method Summary | |
---|---|
int |
getPosition()
Returns the current position within the iterator. |
void |
skip(int skipNum)
this method skips the first skipNum documents in the iterator. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
void skip(int skipNum)
skipNum
documents in the iterator. When skipNum is large enough to skip past the last
HippoDocumentBean, then no error will be thrown, but this method returns. The Iterator.hasNext()
will then return false
skipNum
- int getPosition()
next
call.
Note that this method does not check if there is a next element,
i.e. an empty iterator will always return 0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |