# LongBinaryOperator

public interface **LongBinaryOperator** Represents an operation upon two `long`-valued operands and producing a
`long`-valued result. This is the primitive type specialization of
`https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/BinaryOperator.html` for `long`.

This is a [functional interface](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/package-summary)
whose functional method is `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/LongBinaryOperator.html#applyAsLong(long,%20long)`.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/BinaryOperator.html`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/LongUnaryOperator.html`

### Public Method Summary

|---|---|
| abstract long | [applyAsLong](https://developers.google.com/j2objc/javadoc/jre/reference/java/util/function/LongBinaryOperator.html#applyAsLong(long,%20long))(long left, long right) Applies this operator to the given operands. |

## Public Methods

#### public abstract long
**applyAsLong**
(long left, long right)

Applies this operator to the given operands.

##### Parameters

| left | the first operand |
| right | the second operand |
|---|---|

##### Returns

- the operator result