T - The type of the expression.public abstract class DependentExpression<T> extends ActiveExpression<T>
| Constructor and Description |
|---|
DependentExpression(java.util.Collection<? extends Expression<?>> dependencies) |
DependentExpression(Expression<?>... dependencies) |
| Modifier and Type | Method and Description |
|---|---|
protected <U> ExpressionDependency<U> |
addDependency(Expression<U> dependency) |
protected abstract T |
evaluate() |
T |
getValueImpl(boolean dirty)
Implementing classes should compute the value of the
Expression here. |
beginWrite, cancelChange, createObservable, endWrite, fireChange, getValue, invalidations, isChanging, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanonymize, decoupleValue, immutable, over, overpublic DependentExpression(java.util.Collection<? extends Expression<?>> dependencies)
public DependentExpression(Expression<?>... dependencies)
protected <U> ExpressionDependency<U> addDependency(Expression<U> dependency)
public final T getValueImpl(boolean dirty)
ActiveExpressionExpression here.
Read lock is guaranteed to be obtained. This method should never be invoked
manually.getValueImpl in class ActiveExpression<T>dirty - Whether the expression has been mutated since this method was last
invoked.Expression.protected abstract T evaluate()
Expression as derived from the dependency
Expressions.