Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@FunctionalInterface

public interface DoubleBinaryOperator

An operation on two double values that answers a double; the double form of BinaryOperator.

Methods

public abstract double applyAsDouble(double left, double right)Applies this operator.

Method details

applyAsDouble

public abstract double applyAsDouble(double left, double right)
Applies this operator.

Parameters

left double
the first operand
right double
the second operand

Returns

the result