antlr.collections
Interface Enumerator


public interface Enumerator


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

Method Detail

cursor

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


next

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


valid

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



Copyright © 1999-2003 Oliver Zeigermann. All Rights Reserved.