antlr.collections
Interface Enumerator


public interface Enumerator

Untamed:


Method Summary
 Object cursor()
          Enabled: Return the element under the cursor; return null if !valid() or if called before first next() call.
 Object next()
          Enabled: Return the next element in the enumeration; first call to next() returns the first element.
 boolean valid()
          Enabled: Any more elements in the enumeration?
 

Method Detail

cursor

public Object cursor()
Enabled: Return the element under the cursor; return null if !valid() or if called before first next() call.


next

public Object next()
Enabled: Return the next element in the enumeration; first call to next() returns the first element.


valid

public boolean valid()
Enabled: Any more elements in the enumeration?



comments?