java.lang.Object | |
↳ | com.atlassian.jira.util.Predicates |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Predicates.And<T> | |||||||||||
Predicates.Composite<T> | |||||||||||
Predicates.FalsePredicate<T> | A predicate that always returns false. | ||||||||||
Predicates.Or<T> | |||||||||||
Predicates.TruePredicate<T> | A predicate that always returns true. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a composite predicate that evaluates to true when both the passed predicates evaluate to true.
| |||||||||||
Create a composite predicate that evaluates to true when one the passed predicates evaluate to true.
| |||||||||||
A predicate that check that some input equals the passed argument.
| |||||||||||
Return a predicate that always returns false.
| |||||||||||
A predicate that check that the input is null.
| |||||||||||
Create a predicate that inverts the behaviour of the passed predicate.
| |||||||||||
A predicate that check that the input is not null.
| |||||||||||
Return a predicate that always returns true.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Create a composite predicate that evaluates to true when both the passed predicates evaluate to true.
left | the first predicate. |
---|---|
right | the second predicate. |
Create a composite predicate that evaluates to true when one the passed predicates evaluate to true.
left | the first predicate. |
---|---|
right | the second predicate. |
A predicate that check that some input equals the passed argument.
check | the element to check equality of, must not be null. |
---|
Return a predicate that always returns false.
A predicate that check that the input is null.
Create a predicate that inverts the behaviour of the passed predicate.
predicate | the predicate to negate. Cannot be null. |
---|
A predicate that check that the input is not null.
Return a predicate that always returns true.