Package com.landawn.abacus.util.function
Interface ShortPredicate
- All Superinterfaces:
Throwables.ShortPredicate<RuntimeException>
- Author:
- Haiyang Li
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ShortPredicate
static final ShortPredicate
static final ShortPredicate
static final ShortPredicate
static final ShortPredicate
static final ShortPredicate
static final ShortPredicate
static final ShortPredicate
-
Method Summary
Modifier and TypeMethodDescriptiondefault ShortPredicate
and
(ShortPredicate other) static ShortPredicate
between
(short minValue, short maxValue) static ShortPredicate
equal
(short targetShort) static ShortPredicate
greaterEqual
(short targetShort) static ShortPredicate
greaterThan
(short targetShort) static ShortPredicate
lessEqual
(short targetShort) static ShortPredicate
lessThan
(short targetShort) default ShortPredicate
negate()
static ShortPredicate
notEqual
(short targetShort) static ShortPredicate
of
(ShortPredicate predicate) Returns the specified instance.default ShortPredicate
or
(ShortPredicate other) boolean
test
(short value)
-
Field Details
-
ALWAYS_TRUE
-
ALWAYS_FALSE
-
IS_ZERO
-
NOT_ZERO
-
IS_POSITIVE
-
NOT_POSITIVE
-
IS_NEGATIVE
-
NOT_NEGATIVE
-
-
Method Details
-
test
boolean test(short value) - Specified by:
test
in interfaceThrowables.ShortPredicate<RuntimeException>
- Parameters:
value
-- Returns:
-
of
Returns the specified instance.- Parameters:
predicate
-- Returns:
-
negate
- Returns:
-
and
- Parameters:
other
-- Returns:
-
or
- Parameters:
other
-- Returns:
-
equal
- Parameters:
targetShort
-- Returns:
-
notEqual
- Parameters:
targetShort
-- Returns:
-
greaterThan
- Parameters:
targetShort
-- Returns:
-
greaterEqual
- Parameters:
targetShort
-- Returns:
-
lessThan
- Parameters:
targetShort
-- Returns:
-
lessEqual
- Parameters:
targetShort
-- Returns:
-
between
- Parameters:
minValue
-maxValue
-- Returns:
-