T - the type of the input to the function@FunctionalInterface public interface IndexedPredicate<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
IndexedPredicate.Util |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(int index,
T value)
Tests the value for satisfying predicate.
|
boolean test(int index,
T value)
index - the indexvalue - the value to be teststrue if the value matches the predicate, otherwise falseCopyright © 2017. All rights reserved.