public class Variable extends AbstractValue
name, valueroot| Constructor and Description | 
|---|
Variable(Breakpoint breakpoint,
        java.lang.String name)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
eval()
Evaluate the expression. 
 | 
java.lang.String | 
getExpressionName()
Return the variable name. 
 | 
java.lang.Object | 
getValue()
Return the value. 
 | 
Variable | 
getVariable(java.lang.String varName)
Return the value of the variable. 
 | 
java.util.Map<java.lang.String,Variable> | 
getVariables()
Return the Map of variables. 
 | 
getExpression, getName, setNamegetRoot, setRootclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRoot, getVariable, getVariables, hasVariable, hasVariablepublic Variable(Breakpoint breakpoint, java.lang.String name)
breakpoint - the breakpointname - the variable namepublic java.lang.Object getValue()
ValuegetValue in interface ValuegetValue in class AbstractValuepublic java.lang.Object eval()
                      throws java.lang.ArithmeticException
Expressioneval in interface Expressioneval in class AbstractValuejava.lang.ArithmeticExceptionpublic java.lang.String getExpressionName()
public java.util.Map<java.lang.String,Variable> getVariables()
public Variable getVariable(java.lang.String varName)
varName - the variable nameCopyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence