Interface BooleanBinaryOperator

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

    Modifier and Type Method Description
    boolean apply​(boolean x, boolean y)
    Computes the operator on the given inputs.
    default java.lang.Boolean apply​(java.lang.Boolean x, java.lang.Boolean y)
    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 java.lang.Boolean apply​(java.lang.Boolean x, java.lang.Boolean y)
      Deprecated.
      Please use the corresponding type-specific method instead.
      Specified by:
      apply in interface java.util.function.BiFunction<java.lang.Boolean,​java.lang.Boolean,​java.lang.Boolean>