Package org.xcsp.common
Interface FunctionalInterfaces.Intx2Function<R>
-
- Type Parameters:
R
- the type of the result of the function
- Enclosing interface:
- FunctionalInterfaces
- 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 static interface FunctionalInterfaces.Intx2Function<R>
Represents a function that accepts two integers and returns an objectR
. This is a functional interface whose functional method is apply(int,int).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(int i, int j)
Applies this function to the given arguments.
-
-
-
Method Detail
-
apply
R apply(int i, int j)
Applies this function to the given arguments.- Parameters:
i
- a first integerj
- a second integer- Returns:
- the function result
-
-