org.apache.commons.collections
Class ArrayIterator
- Iterator
public class ArrayIterator
Implements an java.util.Iterator
over an array of objects.
ArrayIterator() - Construct an ArrayIterator.
|
ArrayIterator(Object array) - Construct an ArrayIterator that will iterate over the values in the
specified array.
|
ArrayIterator(Object array, int start) - Construct an ArrayIterator that will iterate over the values in the
specified array.
|
ArrayIterator(Object array, int start, int end) - Construct an ArrayIterator that will iterate over the values in the
specified array.
|
ArrayIterator
public ArrayIterator()
Construct an ArrayIterator. Using this constructor, the iterator is
equivalent to an empty iterator until
setArray(Object)
is
called to establish the array to iterate over.
ArrayIterator
public ArrayIterator(Object array)
Construct an ArrayIterator that will iterate over the values in the
specified array.
array
- the array to iterate over.
ArrayIterator
public ArrayIterator(Object array,
int start)
Construct an ArrayIterator that will iterate over the values in the
specified array.
array
- the array to iterate over.start
- the index to start iterating at.
ArrayIterator
public ArrayIterator(Object array,
int start,
int end)
Construct an ArrayIterator that will iterate over the values in the
specified array.
array
- the array to iterate over.start
- the index to start iterating at.end
- the index to finish iterating at.
Copyright © 2001-2004 Apache Software Foundation. Documenation generated ${TODAY}.