com.koloboke.function
Interface IntIntToIntFunction

All Known Subinterfaces:
IntBinaryOperator

public interface IntIntToIntFunction

Represents a function that accepts two int-valued arguments and produces an int-valued result. This is the (int, int, int) specialization of BiFunction.

Unlike IntBinaryOperator, this function is supposed to accept heterogeneous arguments, e. g. key and value in IntIntMap.compute(int, IntIntToIntFunction) method.

See Also:
BiFunction

Method Summary
 int applyAsInt(int a, int b)
          Applies this function to the given arguments.
 

Method Detail

applyAsInt

int applyAsInt(int a,
               int b)
Applies this function to the given arguments.

Parameters:
a - the first function argument
b - the second function argument
Returns:
the function result