|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.rmi.api.iterator.ArrayIterator
public class ArrayIterator
Array implementation of the JCR RangeIterator interface. This
class implements the RangeIterator functionality for an underlying array of objects. Used as the
base class for the type-specific iterator classes defined in this package.
| Constructor Summary | |
|---|---|
ArrayIterator(java.lang.Object[] array)
Creates an iterator for the given array of objects. |
|
| Method Summary | |
|---|---|
long |
getPosition()
|
long |
getSize()
|
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
void |
skip(long items)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayIterator(java.lang.Object[] array)
array - the objects to iterate| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iteratorpublic void skip(long items)
skip in interface javax.jcr.RangeIteratorpublic long getSize()
getSize in interface javax.jcr.RangeIteratorpublic long getPosition()
getPosition in interface javax.jcr.RangeIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||