Package it.unimi.dsi.fastutil.booleans
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-specificBinaryOperator; provides methods operating both on objects and on primitives.- Since:
- 8.5.0
- See Also:
BinaryOperator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description booleanapply(boolean x, boolean y)Computes the operator on the given inputs.default java.lang.Booleanapply(java.lang.Boolean x, java.lang.Boolean y)Deprecated.Please use the corresponding type-specific method instead.
-
-
-
Method Detail
-
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:
applyin interfacejava.util.function.BiFunction<java.lang.Boolean,java.lang.Boolean,java.lang.Boolean>
-
-