Package org.dmfs.jems2.predicate
Class AnyOf<T>
java.lang.Object
org.dmfs.jems2.predicate.AnyOf<T>
- All Implemented Interfaces:
Predicate<T>
A
Predicate which is satisfied if any of a given number of predicates are satisfied. This is equivalent to the boolean "OR" operation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansatisfiedBy(T testedInstance) Returns whether the given instance satisfies this predicate.
-
Constructor Details
-
AnyOf
-
AnyOf
-
AnyOf
-
-
Method Details
-
satisfiedBy
Description copied from interface:PredicateReturns whether the given instance satisfies this predicate.- Specified by:
satisfiedByin interfacePredicate<T>
-