org.obe.client.api.base
Class ArrayIterator

java.lang.Object
  extended byorg.obe.client.api.base.ArrayIterator
All Implemented Interfaces:
java.util.Iterator
Direct Known Subclasses:
AbstractWMIterator

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

Utility class to iterate through an Object array.

Author:
Adrian Price

Field Summary
protected  java.lang.Object[] _array
           
protected  int _index
           
 
Constructor Summary
ArrayIterator(java.lang.Object[] array)
           
 
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
 

Field Detail

_array

protected java.lang.Object[] _array

_index

protected int _index
Constructor Detail

ArrayIterator

public ArrayIterator(java.lang.Object[] array)
Method Detail

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

remove

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


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.