Home | Download | News | Wiki | About ANTLR | Feedback | Support | Bugs


Latest version is 2.7.7.
Download now! »

Download
» Home
» Download
» News
»Using ANTLR
» Documentation
» Wiki
» FAQ
» Articles
» Grammars
» File Sharing
» Code API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»TML
»PCCTS
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



Enumerator


antlr.collections
Interface Enumerator


public interface Enumerator


Method Summary
 java.lang.Object cursor()
          Return the element under the cursor; return null if !valid() or if called before first next() call.
 java.lang.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 java.lang.Object cursor()
Return the element under the cursor; return null if !valid() or if called before first next() call.


next

public java.lang.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?