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 twoint
s as input and produces aR
result.This is the
int
-consuming primitive specialization forBiFunction
.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(int first, int second)
Evaluates this predicate on the given arguments.
-
-
-
Method Detail
-
apply
R apply(int first, int second)
Evaluates this predicate on the given arguments.- Parameters:
first
- the first input argumentsecond
- the second input argument- Returns:
- a result
- Since:
- 4.0.0
-
-