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