org.ckkloverdos.collection
Class ArrayIterator

java.lang.Object
  extended by org.ckkloverdos.collection.ArrayIterator
All Implemented Interfaces:
java.util.Iterator

public class ArrayIterator
extends java.lang.Object
implements java.util.Iterator

Implementation of the Iterator interface for generic Object[] arrays.

Author:
Christos KK Loverdos

Constructor Summary
ArrayIterator(java.lang.Object[] a)
           
 
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[] a)
Method Detail

remove

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

hasNext

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

next

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


Copyright © 1999-2007 Christos KK Loverdos. All Rights Reserved.