public class ArrayIterator extends Object implements javax.jcr.RangeIterator
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 and Description |
|---|
ArrayIterator(Object[] array)
Creates an iterator for the given array of objects.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getPosition() |
long |
getSize() |
boolean |
hasNext() |
Object |
next() |
void |
remove() |
void |
skip(long items) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic ArrayIterator(Object[] array)
array - the objects to iterateCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.