Class ArrayIterator
- java.lang.Object
-
- org.apache.jackrabbit.rmi.iterator.ArrayIterator
-
- All Implemented Interfaces:
Iterator
,RangeIterator
- Direct Known Subclasses:
ArrayEventIterator
,ArrayEventListenerIterator
@Deprecated(forRemoval=true) public class ArrayIterator extends Object implements RangeIterator
Deprecated, for removal: This API element is subject to removal in a future version.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
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
Constructors Constructor Description ArrayIterator(Object[] array)
Deprecated, for removal: This API element is subject to removal in a future version.Creates an iterator for the given array of objects.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getPosition()
Deprecated, for removal: This API element is subject to removal in a future version.long
getSize()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
hasNext()
Deprecated, for removal: This API element is subject to removal in a future version.Object
next()
Deprecated, for removal: This API element is subject to removal in a future version.void
remove()
Deprecated, for removal: This API element is subject to removal in a future version.void
skip(long items)
Deprecated, for removal: This API element is subject to removal in a future version.-
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, for removal: This API element is subject to removal in a future version.Creates an iterator for the given array of objects.- Parameters:
array
- the objects to iterate
-
-
Method Detail
-
hasNext
public boolean hasNext()
Deprecated, for removal: This API element is subject to removal in a future version.
-
next
public Object next()
Deprecated, for removal: This API element is subject to removal in a future version.
-
remove
public void remove()
Deprecated, for removal: This API element is subject to removal in a future version.
-
skip
public void skip(long items)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
skip
in interfaceRangeIterator
-
getSize
public long getSize()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSize
in interfaceRangeIterator
-
getPosition
public long getPosition()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPosition
in interfaceRangeIterator
-
-