Interface BooleanBinaryOperator

All Superinterfaces:
BiFunction<Boolean,Boolean,Boolean>, BinaryOperator<Boolean>
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 BooleanBinaryOperator extends BinaryOperator<Boolean>
A type-specific BinaryOperator; provides methods operating both on objects and on primitives.
Since:
8.5.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(boolean x, boolean y)
    Computes the operator on the given inputs.
    default Boolean
    Deprecated.
    Please use the corresponding type-specific method instead.

    Methods inherited from interface java.util.function.BiFunction

    andThen
  • Method Details

    • apply

      boolean apply(boolean x, boolean y)
      Computes the operator on the given inputs.
      Parameters:
      x - the first input.
      y - the second input.
      Returns:
      the output of the operator on the given inputs.
    • apply

      @Deprecated default Boolean apply(Boolean x, Boolean y)
      Deprecated.
      Please use the corresponding type-specific method instead.
      Specified by:
      apply in interface BiFunction<Boolean,Boolean,Boolean>