Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.formula.lvalues.AbstractLValue
org.jfree.formula.lvalues.Term
public class Term
extends AbstractLValue
Method Summary | |
void |
|
Object |
|
TypeValuePair |
|
LValue[] |
|
LValue | |
InfixOperator[] | |
LValue[] | |
LValue |
|
LValue[] |
|
InfixOperator[] |
|
void |
|
boolean |
|
String |
|
Methods inherited from class org.jfree.formula.lvalues.AbstractLValue | |
clone , getChildValues , getContext , getValueType , initialize |
public Object clone() throws CloneNotSupportedException
- Overrides:
- clone in interface AbstractLValue
public LValue[] getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
- Specified by:
- getChildValues in interface LValue
- Overrides:
- getChildValues in interface AbstractLValue
- Returns:
public LValue getOptimizedHeadValue()
Allows access to the post optimized head value note that without the optimization, it's difficult to traverse libformula's object model.
- Returns:
- optimized head value
public LValue[] getOptimizedOperands()
Allows access to the post optimized operand array
- Returns:
- optimized operand array
public InfixOperator[] getOptimizedOperators()
Allows access to the post optimized operator array
- Returns:
- optimized operator array
public void initialize(FormulaContext context) throws EvaluationException
- Specified by:
- initialize in interface LValue
- Overrides:
- initialize in interface AbstractLValue
public boolean isConstant()
Checks, whether the LValue is constant. Constant lvalues always return the same value.
- Specified by:
- isConstant in interface LValue
- Returns: