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 IntBinaryOperator

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

Methods

public abstract int applyAsInt(int left, int right)Applies this operator.

Method details

applyAsInt

public abstract int applyAsInt(int left, int right)
Applies this operator.

Parameters

left int
the first operand
right int
the second operand

Returns

the result