Package com.landawn.abacus.util.function
Interface LongPredicate
- All Superinterfaces:
LongPredicate
,Throwables.LongPredicate<RuntimeException>
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html
- Since:
- 0.8
- Author:
- Haiyang Li
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LongPredicate
static final LongPredicate
static final LongPredicate
static final LongPredicate
static final LongPredicate
static final LongPredicate
static final LongPredicate
static final LongPredicate
-
Method Summary
Modifier and TypeMethodDescriptiondefault LongPredicate
and
(LongPredicate other) static LongPredicate
between
(long minValue, long maxValue) static LongPredicate
equal
(long targetLong) static LongPredicate
greaterEqual
(long targetLong) static LongPredicate
greaterThan
(long targetLong) static LongPredicate
lessEqual
(long targetLong) static LongPredicate
lessThan
(long targetLong) default LongPredicate
negate()
static LongPredicate
notEqual
(long targetLong) static LongPredicate
of
(LongPredicate predicate) Returns the specified instance.default LongPredicate
or
(LongPredicate other) boolean
test
(long value)
-
Field Details
-
ALWAYS_TRUE
-
ALWAYS_FALSE
-
IS_ZERO
-
NOT_ZERO
-
IS_POSITIVE
-
NOT_POSITIVE
-
IS_NEGATIVE
-
NOT_NEGATIVE
-
-
Method Details
-
test
boolean test(long value) - Specified by:
test
in interfaceLongPredicate
- Specified by:
test
in interfaceThrowables.LongPredicate<RuntimeException>
- Parameters:
value
-- Returns:
-
negate
- Specified by:
negate
in interfaceLongPredicate
- Returns:
-
or
- Specified by:
or
in interfaceLongPredicate
- Parameters:
other
-- Returns:
-
and
- Specified by:
and
in interfaceLongPredicate
- Parameters:
other
-- Returns:
-
of
Returns the specified instance.- Parameters:
predicate
-- Returns:
-
equal
- Parameters:
targetLong
-- Returns:
-
notEqual
- Parameters:
targetLong
-- Returns:
-
greaterThan
- Parameters:
targetLong
-- Returns:
-
greaterEqual
- Parameters:
targetLong
-- Returns:
-
lessThan
- Parameters:
targetLong
-- Returns:
-
lessEqual
- Parameters:
targetLong
-- Returns:
-
between
- Parameters:
minValue
-maxValue
-- Returns:
-