public static class IndexedPredicate.Util extends 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(Predicate<? super T> predicate)
Predicate and returns IndexedPredicate.T - the type of the input to the functionpredicate - the predicate to wrapIndexedPredicateNullPointerException - if predicate is nullCopyright © 2017. All rights reserved.