org.jfree.formula.lvalues

Interface LValue

public interface LValue extends Serializable, Cloneable

A reference is an indirection to hide the details of where the actual value came from. The reference is responsible to report dependencies.

Author: Thomas Morgner

Method Summary
Objectclone()
TypeValuePairevaluate()
LValue[]getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
TypegetValueType()
Querying the value type is only valid *after* the value has been evaluated.
voidinitialize(FormulaContext context)
booleanisConstant()
Checks, whether the LValue is constant.

Method Detail

clone

public Object clone()

evaluate

public TypeValuePair evaluate()

getChildValues

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

Returns:

getValueType

public Type getValueType()
Querying the value type is only valid *after* the value has been evaluated.

Returns:

initialize

public void initialize(FormulaContext context)

isConstant

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

Returns: