Keel 2.1RC2

org.apache.commons.collections
Class ArrayIterator

java.lang.Object
  extended byorg.apache.commons.collections.iterators.ArrayIterator
      extended byorg.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,

Field Summary
 
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 org.apache.commons.collections.iterators.ArrayIterator
getArray, hasNext, next, remove, setArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.