com.koloboke.function
Interface DoubleDoubleToDoubleFunction

All Known Subinterfaces:
DoubleBinaryOperator

public interface DoubleDoubleToDoubleFunction

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

Unlike DoubleBinaryOperator, this function is supposed to accept heterogeneous arguments, e. g. key and value in DoubleDoubleMap.compute(double, DoubleDoubleToDoubleFunction) method.

See Also:
BiFunction

Method Summary
 double applyAsDouble(double a, double b)
          Applies this function to the given arguments.
 

Method Detail

applyAsDouble

double applyAsDouble(double a,
                     double b)
Applies this function to the given arguments.

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