static <T> boolean |
Iterables.exists(Iterable<T> input,
Predicate<T> condition) |
static <T> List<T> |
Lists.filter(Iterable<T> collection,
Predicate<T> condition) |
static <T> List<T> |
Lists.filter(T[] array,
Predicate<T> condition) |
static <T> Option<T> |
Lists.find(Iterable<T> collection,
Predicate<T> condition) |
static <T> boolean |
Iterables.forall(Iterable<T> input,
Predicate<T> condition) |
static <T> List<T> |
Lists.takeWhile(Iterable<T> input,
Predicate<T> predicate)
Takes elements from the list as long as the predicate is met and stops after that.
|