@Beta public abstract class Condition extends Object
Constructor and Description |
---|
Condition() |
Modifier and Type | Method and Description |
---|---|
AndCondition |
and(Condition that)
Returns a new condition based on the conjunction of the current condition
and the given condition.
|
NegationCondition |
negate()
Returns a new condition based on the negation of the current condition.
|
OrCondition |
or(Condition that)
Returns a new condition based on the disjunction of the current condition
and the given condition.
|
public final NegationCondition negate()
public AndCondition and(Condition that)
that
- given condition.public OrCondition or(Condition that)
that
- given condition.Copyright © 2020. All rights reserved.