DoubleBinaryOperator

  • DoubleBinaryOperator is a functional interface representing an operation on two double values, producing a double result.

  • It is a specialization of BinaryOperator for the primitive type double.

  • The core functionality is provided by the applyAsDouble method, which takes two double operands and returns the computed double result.

public interface DoubleBinaryOperator

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

Public Method Summary

abstract double
applyAsDouble(double left, double right)
Applies this operator to the given operands.

Public Methods

public abstract double applyAsDouble (double left, double right)

Applies this operator to the given operands.

Parameters
left the first operand
right the second operand
Returns
  • the operator result