Top Description Methods
java.util.function

public Interface IntBinaryOperator

Annotations
@FunctionalInterface

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

This is a functional interface whose functional method is applyAsInt(int, int).

Since
1.8
See Also
BinaryOperator, IntUnaryOperator

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the operator result
applyAsInt
(int
the first operand
left
,
int
the second operand
right
)

Applies this operator to the given operands.

Method Detail

applyAsIntback to summary
public int applyAsInt(int left, int right)

Applies this operator to the given operands.

Parameters
left:int

the first operand

right:int

the second operand

Returns:int

the operator result