org.apache.commons.collections

Class ArrayIterator

Implemented Interfaces:
Iterator

public class ArrayIterator
extends ArrayIterator

Implements an java.util.Iterator over an array of objects.
Version:
$Revision: 1.17.2.1 $
Authors:
James Strachan
Mauricio S. Moura
Michael A. Smith
Since:
1.0

Constructor Summary

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.

Method Summary

Methods inherited from class org.apache.commons.collections.iterators.ArrayIterator

getArray, hasNext, next, remove, setArray

Constructor Details

ArrayIterator

public ArrayIterator()

ArrayIterator

public ArrayIterator(Object array)
Construct an ArrayIterator that will iterate over the values in the specified array.
Parameters:
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.
Parameters:
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.
Parameters:
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}.