org.jfree.formula.lvalues

Class PrefixTerm

public class PrefixTerm extends AbstractLValue

Creation-Date: 02.11.2006, 10:20:27

Author: Thomas Morgner

Constructor Summary
PrefixTerm(PrefixOperator operator, LValue value)
Method Summary
Objectclone()
TypeValuePairevaluate()
LValue[]getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
PrefixOperatorgetOperator()
LValuegetValue()
booleanisConstant()
Checks, whether the LValue is constant.
StringtoString()

Constructor Detail

PrefixTerm

public PrefixTerm(PrefixOperator operator, LValue value)

Method Detail

clone

public Object clone()

evaluate

public TypeValuePair evaluate()

getChildValues

public LValue[] getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).

Returns:

getOperator

public PrefixOperator getOperator()

getValue

public LValue getValue()

isConstant

public boolean isConstant()
Checks, whether the LValue is constant. Constant lvalues always return the same value.

Returns:

toString

public String toString()