public static final class HjExpression.HjAwaitExpression extends Object
Modifier and Type | Field and Description |
---|---|
protected HjExpression.HjBooleanExpression |
expression |
protected boolean |
useShortCircuit |
Modifier | Constructor and Description |
---|---|
protected |
HjAwaitExpression(HjExpression.HjBooleanExpression expression)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<HjFuture> |
dependents()
Returns the
HjFuture instances used in the wrapped boolean expression. |
boolean |
evaluate()
Returns the result of evaluating the wrapped boolean expression.
|
boolean |
useShortCircuit()
Returns whether the expression can be evaluated in short-circuit mode.
|
protected final HjExpression.HjBooleanExpression expression
protected final boolean useShortCircuit
protected HjAwaitExpression(HjExpression.HjBooleanExpression expression)
expression
- The boolean expression to wrap.public final Set<HjFuture> dependents()
HjFuture
instances used in the wrapped boolean expression.HjFuture
instances used in the wrapped boolean expression.public final boolean useShortCircuit()
public final boolean evaluate()
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.