|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobsIterator
This Iterator
allows to iterate over Event
s.
In addition to an iterator it might return the number of elements
in the collection and allows to skip several elements.
Method Summary | |
---|---|
long |
getPosition()
Returns the current position within the iterator. |
long |
getSize()
Returns the total number of jobs. |
void |
skip(long skipNum)
Skip a number of jobs. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
void skip(long skipNum)
skipNum
- the non-negative number of elements to skip
NoSuchElementException
- if skipped past the last job in the iterator.long getSize()
long getPosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |