Prism.util
Class DynamicArrayIterator

java.lang.Object
  |
  +--Prism.util.DynamicArrayIterator

public class DynamicArrayIterator
extends java.lang.Object


Field Summary
 DynamicArray array
           
 java.lang.Object[] iterator
           
 int iteratorIndex
           
 
Constructor Summary
DynamicArrayIterator(DynamicArray init)
           
 
Method Summary
 java.lang.Object get(int index)
           
 java.lang.Object getNext()
           
 boolean hasNext()
           
 int indexOf(java.lang.Object o)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

array

public DynamicArray array

iteratorIndex

public int iteratorIndex

iterator

public java.lang.Object[] iterator
Constructor Detail

DynamicArrayIterator

public DynamicArrayIterator(DynamicArray init)
Method Detail

reset

public void reset()

getNext

public java.lang.Object getNext()

hasNext

public boolean hasNext()

get

public java.lang.Object get(int index)

indexOf

public int indexOf(java.lang.Object o)