@FunctionalInterface public interface BooleanPredicate2 extends Predicate2<java.lang.Boolean,java.lang.Boolean>
ALWAYS_FALSE, ALWAYS_TRUE
Modifier and Type | Method and Description |
---|---|
default boolean |
test(java.lang.Boolean value1,
java.lang.Boolean value2)
Default implementation.
|
default boolean |
test(BooleanPair pair)
Test a boolean pair by expanding its elements.
|
boolean |
testBools(boolean value1,
boolean value2)
Test the given value.
|
after1, after2, after3, after5, after6, after7, after8, after9, alwaysFalse, alwaysTrue, and, and, apply, areIdentical, from, isEqual, negate, or, or, partial1, partial2, partialLeft, partialRight, reverseOrder, test, xor, xor
boolean testBools(boolean value1, boolean value2)
value1
- first value to testvalue2
- second value to testtrue
if the values match the predicate, false
otherwisedefault boolean test(java.lang.Boolean value1, java.lang.Boolean value2)
testBools(boolean, boolean)
test
in interface java.util.function.BiPredicate<java.lang.Boolean,java.lang.Boolean>
value1
- first valuevalue2
- second valuetrue
if the values match the predicate, false
otherwisejava.lang.NullPointerException
- if either value is null
default boolean test(@NotNull BooleanPair pair)
pair
- pair to testjava.lang.NullPointerException
- if pair is null