Condition.FalseCondition, Condition.TrueConditionCONDITIONS, FALSE, TRUE| Constructor and Description |
|---|
FalseCondition() |
| Modifier and Type | Method and Description |
|---|---|
Condition |
and(boolean clause)
Logically AND combine the current
Condition with the clause. |
Condition |
or(boolean secondClause)
Logically OR combine the current
Condition with the clause. |
void |
otherwise(Runnable response)
Perform this response if the
Condition is false. |
Condition |
then(Runnable response)
Perform this response if the
Condition is true. |
public Condition and(boolean clause)
ConditionCondition with the clause.public Condition or(boolean secondClause)
ConditionCondition with the clause.public Condition then(Runnable response)
ConditionCondition is true.Copyright © 2015–2017. All rights reserved.