jodd.util.collection
Class ArrayIterator

java.lang.Object
  extended by jodd.util.collection.ArrayIterator
All Implemented Interfaces:
java.io.Serializable, java.util.Iterator

public class ArrayIterator
extends java.lang.Object
implements java.util.Iterator, java.io.Serializable

Iterator over an array.

See Also:
Serialized Form

Constructor Summary
ArrayIterator(java.lang.Object[] aobj)
           
ArrayIterator(java.lang.Object[] aobj, int i, int j)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object 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(java.lang.Object[] aobj)

ArrayIterator

public ArrayIterator(java.lang.Object[] aobj,
                     int i,
                     int j)
Method Detail

hasNext

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

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator
Throws:
java.util.NoSuchElementException

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException


Copyright ©2008 Jodd Team