Returns a predicate that evaluates to true if the object reference being tested is a member of the given collection. It does not defensively copy the collection passed in, so future changes to it will alter the behavior of the predicate. This method can technically accept any {@code Coll
(Collection<? extends T> target)
| 261 | |
| 262 | |
| 263 | public static <T> Predicate<T> in(Collection<? extends T> target) { |
| 264 | return new InPredicate<T>(target); |
| 265 | } |
| 266 | |
| 267 | /** |
| 268 | * Returns the composition of a function and a predicate. For every {@code x}, the generated |
no outgoing calls
no test coverage detected