@FunctionalInterface
public interface LongBinaryOperator
extends java.util.function.BinaryOperator<java.lang.Long>, java.util.function.LongBinaryOperator
BinaryOperator
; provides methods operating both on objects
and on primitives.BinaryOperator
Modifier and Type | Method and Description |
---|---|
long |
apply(long x,
long y)
Computes the operator on the given inputs.
|
default java.lang.Long |
apply(java.lang.Long x,
java.lang.Long y)
Deprecated.
Please use the corresponding type-specific method instead.
|
default long |
applyAsLong(long x,
long y)
Deprecated.
Please use
apply(long, long) . |
long apply(long x, long y)
x
- the first input.y
- the second input.@Deprecated default long applyAsLong(long x, long y)
apply(long, long)
.applyAsLong
in interface java.util.function.LongBinaryOperator
apply(long, long)
.@Deprecated default java.lang.Long apply(java.lang.Long x, java.lang.Long y)
apply
in interface java.util.function.BiFunction<java.lang.Long,java.lang.Long,java.lang.Long>