T
- type of the expression objectpublic static class Expressions.SimpleCachedExpression<T> extends Expressions.SimpleExpression<T>
Modifier | Constructor and Description |
---|---|
protected |
SimpleCachedExpression(String typename,
T value,
String... tags) |
Modifier and Type | Method and Description |
---|---|
protected Value |
doEvaluation(Env env,
Object... args) |
boolean |
equals(Object o) |
Value |
evaluate(Env env,
Object... args)
Evaluates the expression using the specified environment and
arguments.
|
int |
hashCode() |
boolean |
hasValue()
Returns whether the expression has already been evaluated to
a Value
|
get, toString
getTags, getType, setTags, simplify
public Value evaluate(Env env, Object... args)
Expression
public boolean hasValue()
Expression
hasValue
in interface Expression
hasValue
in class Expressions.TypedExpression
public boolean equals(Object o)
equals
in class Expressions.SimpleExpression<T>
public int hashCode()
hashCode
in class Expressions.SimpleExpression<T>