org.apache.commons.collections
Class ArrayIterator
java.lang.Object
org.apache.commons.collections.iterators.ArrayIterator
org.apache.commons.collections.ArrayIterator
- All Implemented Interfaces:
- java.util.Iterator
Deprecated. this class has been moved to the iterators subpackage
- public class ArrayIterator
- extends ArrayIterator
Implements an Iterator over an array of objects.
- Since:
- 1.0
- Version:
- $Revision: 1.17 $
- Author:
- , Mauricio S. Moura,
| Fields inherited from class org.apache.commons.collections.iterators.ArrayIterator |
|
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayIterator
public ArrayIterator()
- Deprecated.
-
Construct an ArrayIterator. Using this constructor, the iterator is equivalent to an empty iterator until
ArrayIterator.setArray(Object) is called to establish the array to iterate over.
ArrayIterator
public ArrayIterator(java.lang.Object array)
- Deprecated.
-
Construct an ArrayIterator that will iterate over the values in the specified array.
- Parameters:
array - the array to iterate over.
- Throws:
java.lang.IllegalArgumentException - if array is not an array.
java.lang.NullPointerException - if array is null
ArrayIterator
public ArrayIterator(java.lang.Object array,
int start)
- Deprecated.
-
Construct an ArrayIterator that will iterate over the values in the specified array.
- Parameters:
array - the array to iterate over.
start - the index to start iterating at.
- Throws:
java.lang.IllegalArgumentException - if array is not an array.
java.lang.NullPointerException - if array is null
ArrayIterator
public ArrayIterator(java.lang.Object array,
int start,
int end)
- Deprecated.
-
Construct an ArrayIterator that will iterate over the values in the specified array.
- Parameters:
array - the array to iterate over.
start - the index to start iterating at.
end - the index to finish iterating at.
- Throws:
java.lang.IllegalArgumentException - if array is not an array.
java.lang.NullPointerException - if array is null
Please see keelframework.org for information about new Keel releases.