org.databene.commons.iterator
Class ArrayIterator<E>

java.lang.Object
  extended by org.databene.commons.iterator.ArrayIterator<E>
All Implemented Interfaces:
java.util.Iterator<E>

public class ArrayIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>

Iterator implementation that iterates the elements of an array.
Created at 30.06.2009 09:26:55

Since:
0.5.0
Author:
Volker Bergmann

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

Constructor Detail

ArrayIterator

public ArrayIterator(E[] array)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<E>

next

public E next()
Specified by:
next in interface java.util.Iterator<E>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<E>


Copyright © 2010. All Rights Reserved.