Package cern.colt.function
Interface IntIntFunction
public interface IntIntFunction
Interface that represents a function object: a function that takes
two arguments and returns a single value.
-
Method Summary
-
Method Details
-
apply
int apply(int x, int y) Applies a function to two arguments.- Parameters:
x
- the first argument passed to the function.y
- the second argument passed to the function.- Returns:
- the result of the function.
-