|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Condition | |
|---|---|
| edu.rice.cs.plt.concurrent | Contains tools to support safe multi-threaded programs. |
| edu.rice.cs.plt.lambda | A collection of interfaces facilitating first-class functions in Java. |
| Uses of Condition in edu.rice.cs.plt.concurrent |
|---|
| Classes in edu.rice.cs.plt.concurrent that implement Condition | |
|---|---|
class |
CompletionMonitor
Provides a convenient facility for blocking until a boolean flag is signaled. |
class |
ConditionMonitor
Provides a convenient facility for blocking until an arbitrary condition is satisfied. |
| Constructors in edu.rice.cs.plt.concurrent with parameters of type Condition | |
|---|---|
ConditionMonitor(Condition condition)
Create an unsignaled completion monitor. |
|
| Uses of Condition in edu.rice.cs.plt.lambda |
|---|
| Subinterfaces of Condition in edu.rice.cs.plt.lambda | |
|---|---|
static interface |
LambdaUtil.GeneralPredicate
An object that functions as a predicate for all arities. |
| Methods in edu.rice.cs.plt.lambda that return Condition | ||
|---|---|---|
static Condition |
LambdaUtil.and(Condition c1,
Condition c2)
Produce the conjunction ( &&) of c1 and c2. |
|
static Condition |
LambdaUtil.and(Condition c1,
Condition c2,
Condition c3)
Produce the conjunction ( &&) of c1, c2, and c3. |
|
static Condition |
LambdaUtil.and0(Iterable<? extends Condition> conds)
Produce the conjunction ( &&) of the given conditions. |
|
static Condition |
LambdaUtil.asCondition(Thunk<? extends Boolean> thunk)
Create a condition based on an input that acts as a condition but is not typed as one. |
|
static
|
LambdaUtil.bindFirst(Predicate<? super T> pred,
T arg)
Bind a fixed argument to the given predicate, producing a condition. |
|
static
|
LambdaUtil.flatten0(Predicate<? super Null<T>> pred)
Treat a predicate accepting a 0-tuple argument as a Condition. |
|
static Condition |
LambdaUtil.negate(Condition cond)
Produce the negation ( !) of cond. |
|
static Condition |
LambdaUtil.or(Condition c1,
Condition c2)
Produce the disjunction ( ||) of c1 and c2. |
|
static Condition |
LambdaUtil.or(Condition c1,
Condition c2,
Condition c3)
Produce the disjunction ( ||) of c1, c2, and c3. |
|
static Condition |
LambdaUtil.or0(Iterable<? extends Condition> conds)
Produce the disjunction ( ||) of the given conditions. |
|
| Methods in edu.rice.cs.plt.lambda with parameters of type Condition | |
|---|---|
static Condition |
LambdaUtil.and(Condition c1,
Condition c2)
Produce the conjunction ( &&) of c1 and c2. |
static Condition |
LambdaUtil.and(Condition c1,
Condition c2,
Condition c3)
Produce the conjunction ( &&) of c1, c2, and c3. |
static Thunk<Boolean> |
LambdaUtil.asThunk(Condition cond)
Create a Boolean thunk based on a condition. |
static Condition |
LambdaUtil.negate(Condition cond)
Produce the negation ( !) of cond. |
static Condition |
LambdaUtil.or(Condition c1,
Condition c2)
Produce the disjunction ( ||) of c1 and c2. |
static Condition |
LambdaUtil.or(Condition c1,
Condition c2,
Condition c3)
Produce the disjunction ( ||) of c1, c2, and c3. |
static LambdaUtil.GeneralPredicate |
LambdaUtil.promote(Condition cond)
Create a GeneralPredicate equivalent to cond that ignores any arguments. |
static Predicate<Null<?>> |
LambdaUtil.unary(Condition cond)
Treat a Condition as a unary predicate accepting a 0-tuple argument. |
| Method parameters in edu.rice.cs.plt.lambda with type arguments of type Condition | |
|---|---|
static Condition |
LambdaUtil.and0(Iterable<? extends Condition> conds)
Produce the conjunction ( &&) of the given conditions. |
static Condition |
LambdaUtil.or0(Iterable<? extends Condition> conds)
Produce the disjunction ( ||) of the given conditions. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||