|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.collections.iterators.ArrayIterator | +--org.apache.commons.collections.ArrayIterator
Implements an Iterator
over an array of objects.
Constructor Summary | |
ArrayIterator()
Deprecated. Construct an ArrayIterator. |
|
ArrayIterator(java.lang.Object array)
Deprecated. Construct an ArrayIterator that will iterate over the values in the specified array. |
|
ArrayIterator(java.lang.Object array,
int start)
Deprecated. Construct an ArrayIterator that will iterate over the values in the specified array. |
|
ArrayIterator(java.lang.Object array,
int start,
int end)
Deprecated. Construct an ArrayIterator that will iterate over the values in the specified array. |
Methods inherited from class org.apache.commons.collections.iterators.ArrayIterator |
getArray, hasNext, next, remove, setArray |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArrayIterator()
ArrayIterator.setArray(Object)
is
called to establish the array to iterate over.
public ArrayIterator(java.lang.Object array)
array
- the array to iterate over.
java.lang.IllegalArgumentException
- if array
is not an
array.
java.lang.NullPointerException
- if array
is null
public ArrayIterator(java.lang.Object array, int start)
array
- the array to iterate over.start
- the index to start iterating at.
java.lang.IllegalArgumentException
- if array
is not an
array.
java.lang.NullPointerException
- if array
is null
public ArrayIterator(java.lang.Object array, int start, int end)
array
- the array to iterate over.start
- the index to start iterating at.end
- the index to finish iterating at.
java.lang.IllegalArgumentException
- if array
is not an
array.
java.lang.NullPointerException
- if array
is null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |