public class ArrayIterator extends Object
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.
|
public ArrayIterator(Object[] array)
array
- the objects to iteratepublic boolean hasNext()
public Object next()
public void remove()
public void skip(long items)
public long getSize()
public long getPosition()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"