public class Find
extends java.lang.Object
Constructor and Description |
---|
Find() |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<T> |
filter(java.util.List<T> list,
Predicate<T> predicate)
Verify if the list contains the predicate
|
public static <T> java.util.List<T> filter(java.util.List<T> list, Predicate<T> predicate)
T
- type of elementlist
- listpredicate
- predicate