|
Oracle Beehive Java Content Repository Java API Reference Release 1 (1.3) E11993-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OracleRangeIterator
Extends Iterator with the skip, getSize and getPosition methods. The base interface of all type-specific iterators in the javax.jcr and its subpackages.
| Method Summary | |
|---|---|
long |
getPosition()Returns the current position within the iterator. |
long |
getSize()Returns the number of elements in the iterator. |
void |
skip(long skipNum)Skip a number of elements in the iterator. |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Method Detail |
|---|
void skip(long skipNum)
skip in interface javax.jcr.RangeIteratorskipNum - the non-negative number of elements to skipjava.util.NoSuchElementException - if skipped past the last element in the iterator.long getSize()
getSize in interface javax.jcr.RangeIteratorlong getPosition()
next call. <p/> Note that this method does not check if there is a next element, i.e. an empty iterator will always return 0.getPosition in interface javax.jcr.RangeIterator
|
Oracle Beehive Java Content Repository Java API Reference Release 1 (1.3) E11993-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||