intarsys runtime library

de.intarsys.tools.collection
Class ArrayIterator

java.lang.Object
  extended by de.intarsys.tools.collection.ArrayIterator
All Implemented Interfaces:
Iterator

public class ArrayIterator
extends Object
implements Iterator

An iterator over an array


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

Constructor Detail

ArrayIterator

public ArrayIterator(Object array)
Method Detail

remove

public void remove()
Specified by:
remove in interface Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.