JavaScript is disabled on your browser.
Skip navigation links
gnu.bytecode

Class VarEnumerator

  • All Implemented Interfaces:
    java.util.Enumeration


    public class VarEnumerator
    extends java.lang.Object
    implements java.util.Enumeration
    Use this Enuemration class to iterate over the Variables in a Scope. Descends into child scopes.
    • Constructor Summary

      Constructors
      Constructor and Description
      VarEnumerator (Scope scope)
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      boolean hasMoreElements ()
      java.lang.Object nextElement ()
      Variable nextVar ()
      Return the next Variable in the Scope tree, or null if done.
      void reset ()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VarEnumerator

        public VarEnumerator(Scope scope)
    • Method Detail

      • reset

        public final void reset()
      • nextVar

        public final Variable nextVar()
        Return the next Variable in the Scope tree, or null if done.
      • hasMoreElements

        public final boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration
      • nextElement

        public java.lang.Object nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /