Class Binding


  • public class Binding
    extends java.lang.Object
    A Binding binds a name to a Variable.
    Author:
    David Hovemeyer
    See Also:
    Variable
    • Constructor Summary

      Constructors 
      Constructor Description
      Binding​(java.lang.String varName, Variable variable)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Variable getVariable()
      Get the variable of the variable.
      java.lang.String getVarName()
      Get the variable name.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Binding

        public Binding​(java.lang.String varName,
                       Variable variable)
        Constructor.
        Parameters:
        varName - the name of the variable
        variable - the variable
    • Method Detail

      • getVarName

        public java.lang.String getVarName()
        Get the variable name.
      • getVariable

        public Variable getVariable()
        Get the variable of the variable.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object