Class ArrayIterator
- java.lang.Object
-
- org.apache.jackrabbit.rmi.iterator.ArrayIterator
-
- All Implemented Interfaces:
Iterator,RangeIterator
- Direct Known Subclasses:
ArrayEventIterator,ArrayEventListenerIterator
@Deprecated public class ArrayIterator extends Object implements RangeIterator
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Array implementation of the JCR
RangeIteratorinterface. 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
Constructors Constructor Description ArrayIterator(Object[] array)Deprecated.Creates an iterator for the given array of objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description longgetPosition()Deprecated.longgetSize()Deprecated.booleanhasNext()Deprecated.Objectnext()Deprecated.voidremove()Deprecated.voidskip(long items)Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
ArrayIterator
public ArrayIterator(Object[] array)
Deprecated.Creates an iterator for the given array of objects.- Parameters:
array- the objects to iterate
-
-
Method Detail
-
skip
public void skip(long items)
Deprecated.- Specified by:
skipin interfaceRangeIterator
-
getSize
public long getSize()
Deprecated.- Specified by:
getSizein interfaceRangeIterator
-
getPosition
public long getPosition()
Deprecated.- Specified by:
getPositionin interfaceRangeIterator
-
-