public class Predicates extends Object
| Constructor and Description |
|---|
Predicates() |
| Modifier and Type | Method and Description |
|---|---|
<T> Predicate<T> |
in(Collection<? extends T> target)
Returns a predicate that evaluates to true if the object reference being tested is a member
of the given collection.
|
public <T> Predicate<T> in(Collection<? extends T> target)
Copyright © 2013. All Rights Reserved.