com.koloboke.function
Interface LongLongToLongFunction

All Known Subinterfaces:
LongBinaryOperator

public interface LongLongToLongFunction

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

Unlike LongBinaryOperator, this function is supposed to accept heterogeneous arguments, e. g. key and value in LongLongMap.compute(long, LongLongToLongFunction) method.

See Also:
BiFunction

Method Summary
 long applyAsLong(long a, long b)
          Applies this function to the given arguments.
 

Method Detail

applyAsLong

long applyAsLong(long a,
                 long b)
Applies this function to the given arguments.

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