org.inxar.jenesis
Interface Iterator

All Known Implementing Classes:
TypeIterator, EnumerationIterator, ArrayIterator

public interface Iterator

A simple JDK1.2-like iterator of Objects.


Method Summary
 boolean hasNext()
          Returns true if there is at least one more element in the list.
 java.lang.Object next()
          Returns the next object in the list and advances the cursor.
 int size()
          Returns the length (size) of the list.
 

Method Detail

hasNext

public boolean hasNext()
Returns true if there is at least one more element in the list.

next

public java.lang.Object next()
Returns the next object in the list and advances the cursor.

size

public int size()
Returns the length (size) of the list.