|
| static< T > Predicate< T > | alwaysTrue () |
| |
| static< T > Predicate< T > | alwaysFalse () |
| |
| static< T > Predicate< T > | and (Iterable<?extends Predicate<?super T >> components) |
| |
| static< T > Predicate< T > | and (Predicate<?super T >...components) |
| |
| static< T > Predicate< T > | not (Predicate< T > predicate) |
| |
| static< T > Predicate< T > | or (Iterable<?extends Predicate<?super T >> components) |
| |
| static< T > Predicate< T > | or (Predicate<?super T >...components) |
| |
- Author
- engreitz Inspired by Google Guava Predicates class
| static <T> Predicate<T> umms.core.general.Predicates.alwaysFalse |
( |
| ) |
|
|
static |
| static <T> Predicate<T> umms.core.general.Predicates.alwaysTrue |
( |
| ) |
|
|
static |
| static <T> Predicate<T> umms.core.general.Predicates.and |
( |
Iterable<?extends Predicate<?super T >> |
components | ) |
|
|
static |
Returns a predicate that evaluates to
if the object being tested passes all component predicates. If {} is empty, the predicate will always return true. It defensively copies the iterable passed in, so future changes to the iterable will not alter the behavior of this predicate.
- Parameters
-
| <T> | |
| components | Collection of predicates to evaluate |
- Returns
| static <T> Predicate<T> umms.core.general.Predicates.and |
( |
Predicate<?super T >... |
components | ) |
|
|
static |
| static <T> Predicate<T> umms.core.general.Predicates.not |
( |
Predicate< T > |
predicate | ) |
|
|
static |
| static <T> Predicate<T> umms.core.general.Predicates.or |
( |
Iterable<?extends Predicate<?super T >> |
components | ) |
|
|
static |
| static <T> Predicate<T> umms.core.general.Predicates.or |
( |
Predicate<?super T >... |
components | ) |
|
|
static |
The documentation for this class was generated from the following file: