public static class IndexedPredicate.Util
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> IndexedPredicate<T> |
wrap(Predicate<? super T> predicate)
Wraps
Predicate and returns IndexedPredicate. |
public static <T> IndexedPredicate<T> wrap(@NotNull Predicate<? super T> predicate)
Predicate and returns IndexedPredicate.T - the type of the input to the functionpredicate - the predicate to wrapIndexedPredicatejava.lang.NullPointerException - if predicate is null