@FunctionalInterface
public interface BooleanBinaryOperator
extends java.util.function.BinaryOperator<java.lang.Boolean>
BinaryOperator
; provides methods operating both on objects
and on primitives.BinaryOperator
Modifier and Type | Method and 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.
|
boolean apply(boolean x, boolean y)
x
- the first input.y
- the second input.@Deprecated default java.lang.Boolean apply(java.lang.Boolean x, java.lang.Boolean y)
apply
in interface java.util.function.BiFunction<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean>