| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.util.collection.ArrayIterator
An array iterator.
| Field Summary | |
| protected  Object[] | arrayArray to iterate over. | 
| protected  int | indexThe current position in the array. | 
| Constructor Summary | |
| ArrayIterator(Object[] array)Construct an ArrayIterator. | |
| Method Summary | |
|  Object | clone()Returns a shallow cloned copy of this object. | 
|  boolean | hasNext()Returns true if there are more elements in the iteration. | 
|  Object | next()Returns the next element in the iteration. | 
|  void | remove()Unsupported. | 
| Methods inherited from class java.lang.Object | 
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected final Object[] array
protected int index
| Constructor Detail | 
public ArrayIterator(Object[] array)
array - The array to iterate over.| Method Detail | 
public boolean hasNext()
public Object next()
NoSuchElementException - The are no more elements available.public void remove()
UnsupportedOperationExceptionpublic Object clone()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||