Returns a predicate that evaluates to true if any one of its components evaluates to true. The components are evaluated in order, and evaluation will be "short-circuited" as soon as a true predicate is found. It defensively copies the iterable passed in, so future changes to it won't
(Iterable<? extends Predicate<? super T>> components)
| 132 | * false}. |
| 133 | */ |
| 134 | public static <T> Predicate<T> or(Iterable<? extends Predicate<? super T>> components) { |
| 135 | return new OrPredicate<T>(defensiveCopy(components)); |
| 136 | } |
| 137 | |
| 138 | /** |
| 139 | * Returns a predicate that evaluates to {@code true} if any one of its components evaluates to |
nothing calls this directly
no test coverage detected