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

Constructor Summary
ArrayIterator()
           
ArrayIterator(Object[] array)
           
 
Method Summary
 Object[] getArray()
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 void setArray(Object[] array)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayIterator

public ArrayIterator()

ArrayIterator

public ArrayIterator(Object[] array)
Method Detail

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.