APIdia Launch Partner
Top Description Methods
java.util.function

public Interface DoubleBinaryOperator

Annotations
@FunctionalInterface

Represents an operation upon two double-valued operands and producing a double-valued result. This is the primitive type specialization of BinaryOperator for double.

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

Since
1.8
See Also
BinaryOperator, DoubleUnaryOperator

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the operator result
applyAsDouble
(double
the first operand
left
,
double
the second operand
right
)

Applies this operator to the given operands.

Method Detail

applyAsDoubleback to summary
public double applyAsDouble(double left, double right)

Applies this operator to the given operands.

Parameters
left:double

the first operand

right:double

the second operand

Returns:double

the operator result