All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gnu.bytecode.VarEnumerator

java.lang.Object
   |
   +----gnu.bytecode.VarEnumerator

public class VarEnumerator
extends Object
implements Enumeration
Use this Enuemration class to iterate over the Variables in a Scope. Descends into child scopes.

Author:
Per Bothner

Constructor Index

 o VarEnumerator(Scope)

Method Index

 o hasMoreElements()
 o nextElement()
 o nextVar()
Return the next Variable in the Scope tree, or null if done.
 o reset()

Constructors

 o VarEnumerator
 public VarEnumerator(Scope scope)

Methods

 o reset
 public final void reset()
 o nextVar
 public final Variable nextVar()
Return the next Variable in the Scope tree, or null if done.

 o hasMoreElements
 public final boolean hasMoreElements()
 o nextElement
 public Object nextElement()

All Packages  Class Hierarchy  This Package  Previous  Next  Index