Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# IntBinaryOperator

` public interface IntBinaryOperator `   
` `

|---|
| java.util.function.IntBinaryOperator |

<br />

*** ** * ** ***

Represents an operation upon two `int`-valued operands and producing an `int`-valued result. This is the primitive type specialization of `https://developer.android.com/reference/java/util/function/BinaryOperator` for `int`.

This is a [functional interface](https://developer.android.com/reference/java/util/function/package-summary) whose functional method is `https://developer.android.com/reference/java/util/function/IntBinaryOperator#applyAsInt(int,%20int)`.
**See also:**

- `https://developer.android.com/reference/java/util/function/BinaryOperator`
- `https://developer.android.com/reference/java/util/function/IntUnaryOperator`

## Summary

| ### Public methods ||
|---|---|
| ` abstract int` | ` https://developer.android.com/reference/java/util/function/IntBinaryOperator#applyAsInt(int,%20int)(int left, int right) ` Applies this operator to the given operands. |

## Public methods

### applyAsInt

Added in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract int applyAsInt (int left, 
                int right)
```

Applies this operator to the given operands.

<br />

| Parameters ||
|---|---|
| `left` | `int`: the first operand <br /> |
| `right` | `int`: the second operand <br /> |

| Returns ||
|---|---|
| `int` | the operator result <br /> |