lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 24

ToDoubleBiFunction

public interface ToDoubleBiFunction

java.util.function.ToDoubleBiFunction<T, U>


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).

See also:

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
public abstract double applyAsDouble (T t, 
                U u)

Applies this function to the given arguments.

Parameters
t T: the first function argument

u U: the second function argument

Returns
double the function result