org.objectweb.dream.util
Class ArrayIterator

java.lang.Object
  extended byorg.objectweb.dream.util.ArrayIterator
All Implemented Interfaces:
Iterator

public final class ArrayIterator
extends Object
implements Iterator


Constructor Summary
ArrayIterator(Object[] array)
          Create an iterator over the array elements.
 
Method Summary
 boolean hasNext()
           
 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(Object[] array)
Create an iterator over the array elements.

Parameters:
array - an array.
Method Detail

remove

public void remove()
Specified by:
remove in interface Iterator
See Also:
Iterator.remove()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator
See Also:
Iterator.hasNext()

next

public Object next()
Specified by:
next in interface Iterator
See Also:
Iterator.next()


Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.