R
- the type of the resolved value of the expression.public abstract class AbstractDeferredExpression<R> extends java.lang.Object implements Expression<R>
Constructor and Description |
---|
AbstractDeferredExpression() |
Modifier and Type | Method and Description |
---|---|
R |
get()
Retrieves the value of the expression.
|
boolean |
isResolved()
returns
true if the expression contains a concrete value. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren
public final boolean isResolved()
Expression
true
if the expression contains a concrete value. Thus the method Expression.get()
can be used to
retrieve the actual value. If this method returns false
, then the get method will throw an exception.isResolved
in interface Expression<R>
true
if the value can be retrieved, false
otherwise.public final R get()
Expression
get
in interface Expression<R>