Class AssertionPredicate.Or<T>

java.lang.Object
org.apache.juneau.assertions.AssertionPredicate<T>
org.apache.juneau.assertions.AssertionPredicate.Or<T>
Type Parameters:
T - the type of input being tested.
All Implemented Interfaces:
Predicate<T>
Enclosing class:
AssertionPredicate<T>

public static class AssertionPredicate.Or<T> extends AssertionPredicate<T>
Encapsulates multiple predicates into a single OR operation.

Similar to stream(predicates).reduce(x->true, Predicate::or) but provides for AssertionPredicate.getFailureMessage() to return a useful message.