com.dandymadeproductions.expressionparser
Class Variable
java.lang.Object
com.dandymadeproductions.expressionparser.Variable
public class Variable
- extends java.lang.Object
A variable in an expression.
- Version:
- 2.0 02/13/2012
- Author:
- David Wanqian Liu, Dana M. Proctor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PI
public static final Variable PI
E
public static final Variable E
Variable
public Variable()
Variable
public Variable(java.lang.String str)
Variable
public Variable(java.lang.String str,
double v)
Variable
public Variable(java.lang.String str,
Complex v)
getVariableX
public static Variable getVariableX()
getVariableY
public static Variable getVariableY()
getVariableZ
public static Variable getVariableZ()
getNameString
public java.lang.String getNameString()
getValue
public double getValue()
getValueComplex
public Complex getValueComplex()
setVariableX
public static void setVariableX(Variable x_val)
setVariableY
public static void setVariableY(Variable y_val)
setVariableZ
public static void setVariableZ(Variable z_val)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object