Added in API level 24

ToDoubleBiFunction

@FunctionalInterface interface ToDoubleBiFunction<T:Any!, U:Any!>

Represents a function that accepts two arguments and produces a double-valued result. This is the double-producing primitive specialization for BiFunction.

This is a functional interface whose functional method is applyAsDouble(Object,Object).

Summary

Public methods
abstract Double
applyAsDouble(t:T, u:U)

Applies this function to the given arguments.

Public methods

applyAsDouble

Added in API level 24
abstract fun applyAsDouble(
t:T,
u:U
): Double

Applies this function to the given arguments.

Parameters
t T: the first function argument
u U: the second function argument