Package net.kyori.adventure.util
Interface IntFunction2<R>
- Type Parameters:
R
- the result type
- 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 IntFunction2<R>
A function that takes two
int
s as input and produces a R
result.
This is the int
-consuming primitive specialization for BiFunction
.
- Since:
- 4.0.0
-
Method Summary
-
Method Details
-
apply
Evaluates this predicate on the given arguments.- Parameters:
first
- the first input argumentsecond
- the second input argument- Returns:
- a result
- Since:
- 4.0.0
-