Package io.servicetalk.concurrent.api
Interface BiIntPredicate<T>
-
- Type Parameters:
T
- The other argument to this predicate.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BiIntPredicate<T>
A special predicate that takes anint
and a custom argument to evaluate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(int i, T t)
Evaluates this predicate on the given arguments.
-
-
-
Method Detail
-
test
boolean test(int i, T t)
Evaluates this predicate on the given arguments.- Parameters:
i
- Theint
argument.t
- TheBiIntPredicate
argument.- Returns:
true
if the input arguments matches the predicate, otherwisefalse
.
-
-