@FunctionalInterface public interface LongPredicate2 extends Predicate2<java.lang.Long,java.lang.Long>
ALWAYS_FALSE, ALWAYS_TRUE
Modifier and Type | Method and Description |
---|---|
default boolean |
test(java.lang.Long value1,
java.lang.Long value2)
Default implementation.
|
default boolean |
test(LongPair pair)
Test a long pair by expanding its elements.
|
boolean |
testLongs(long value1,
long 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 testLongs(long value1, long value2)
value1
- first value to testvalue2
- second value to testtrue
if the values match the predicate, false
otherwisedefault boolean test(java.lang.Long value1, java.lang.Long value2)
testLongs(long, long)
test
in interface java.util.function.BiPredicate<java.lang.Long,java.lang.Long>
value1
- first valuevalue2
- second valuetrue
if the values match the predicate, false
otherwisejava.lang.NullPointerException
- if either value is null