|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.rmi.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(Object[] array)
Creates an iterator for the given array of objects. |
|
| Method Summary | |
|---|---|
long |
getPosition()
|
long |
getSize()
|
boolean |
hasNext()
|
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(Object[] array)
array - the objects to iterate| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iteratorpublic Object next()
next in interface Iteratorpublic void remove()
remove in interface Iteratorpublic void skip(long items)
skip in interface RangeIteratorpublic long getSize()
getSize in interface RangeIteratorpublic long getPosition()
getPosition in interface RangeIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||