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 LongBinaryOperator

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

Methods

public abstract long applyAsLong(long left, long right)Applies this operator.

Method details

applyAsLong

public abstract long applyAsLong(long left, long right)
Applies this operator.

Parameters

left long
the first operand
right long
the second operand

Returns

the result