Interface LongBinaryOperator

All Superinterfaces:
BiFunction<Long,Long,Long>, BinaryOperator<@NotNull Long>, LongBinaryOperator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LongBinaryOperator extends BinaryOperator<@NotNull Long>, LongBinaryOperator
Represents an operation on a single long operand that produces a long result. This is the primitive type specialization of UnaryOperator for long.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull Long
    apply(@NotNull Long left, @NotNull Long right)
     

    Methods inherited from interface java.util.function.BiFunction

    andThen

    Methods inherited from interface java.util.function.LongBinaryOperator

    applyAsLong
  • Method Details

    • apply

      @Contract("null, _ -> fail; _, null -> fail; _ -> _") @NotNull default @NotNull Long apply(@NotNull @NotNull Long left, @NotNull @NotNull Long right)
      Specified by:
      apply in interface BiFunction<Long,Long,Long>