org.apache.commons.collections
Class ArrayIterator
java.lang.Object
|
+--org.apache.commons.collections.ArrayIterator
- All Implemented Interfaces:
- Iterator
- public class ArrayIterator
- extends Object
- implements Iterator
Implements Iterator
over an array of objects
- Version:
- $Revision: 1.3 $
- Author:
- James Strachan, Mauricio S. Moura
ArrayIterator
public ArrayIterator()
ArrayIterator
public ArrayIterator(Object[] array)
getArray
public Object[] getArray()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
setArray
public void setArray(Object[] array)
Copyright © 2001 Apache Software Foundation. Documenation generated July 14 2001.