edu.buffalo.fs7.mathlib
Class Variable

java.lang.Object
  |
  +--edu.buffalo.fs7.mathlib.MathObject
        |
        +--edu.buffalo.fs7.mathlib.Variable
All Implemented Interfaces:
java.lang.Cloneable

public class Variable
extends MathObject

Class representing a variable. This class is used by the Tokenizer and Parse class to identify variables which get a value assigned during a parse process.

See Also:
Parse, Tokenizer

Fields inherited from class edu.buffalo.fs7.mathlib.MathObject
mathlib
 
Constructor Summary
Variable(java.lang.String name)
          creates a variable object with the given name
 
Method Summary
 java.lang.String toString()
          returns the name of the variable
 
Methods inherited from class edu.buffalo.fs7.mathlib.MathObject
clone, toParseableString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Variable

public Variable(java.lang.String name)
creates a variable object with the given name
Method Detail

toString

public java.lang.String toString()
returns the name of the variable
Overrides:
toString in class MathObject
Following copied from class: edu.buffalo.fs7.mathlib.MathObject
See Also:
MathObject.toParseableString()