Package com.landawn.abacus.util.function
Interface IntPredicate
- All Superinterfaces:
IntPredicate
,Throwables.IntPredicate<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 IntPredicate
static final IntPredicate
static final IntPredicate
static final IntPredicate
static final IntPredicate
static final IntPredicate
static final IntPredicate
static final IntPredicate
-
Method Summary
Modifier and TypeMethodDescriptiondefault IntPredicate
and
(IntPredicate other) static IntPredicate
between
(int minValue, int maxValue) static IntPredicate
equal
(int targetInt) static IntPredicate
greaterEqual
(int targetInt) static IntPredicate
greaterThan
(int targetInt) static IntPredicate
lessEqual
(int targetInt) static IntPredicate
lessThan
(int targetInt) default IntPredicate
negate()
static IntPredicate
notEqual
(int targetInt) static IntPredicate
of
(IntPredicate predicate) Returns the specified instance.default IntPredicate
or
(IntPredicate other) boolean
test
(int value)
-
Field Details
-
ALWAYS_TRUE
-
ALWAYS_FALSE
-
IS_ZERO
-
NOT_ZERO
-
IS_POSITIVE
-
NOT_POSITIVE
-
IS_NEGATIVE
-
NOT_NEGATIVE
-
-
Method Details
-
test
boolean test(int value) - Specified by:
test
in interfaceIntPredicate
- Specified by:
test
in interfaceThrowables.IntPredicate<RuntimeException>
- Parameters:
value
-- Returns:
-
negate
- Specified by:
negate
in interfaceIntPredicate
- Returns:
-
and
- Specified by:
and
in interfaceIntPredicate
- Parameters:
other
-- Returns:
-
or
- Specified by:
or
in interfaceIntPredicate
- Parameters:
other
-- Returns:
-
of
Returns the specified instance.- Parameters:
predicate
-- Returns:
-
equal
- Parameters:
targetInt
-- Returns:
-
notEqual
- Parameters:
targetInt
-- Returns:
-
greaterThan
- Parameters:
targetInt
-- Returns:
-
greaterEqual
- Parameters:
targetInt
-- Returns:
-
lessThan
- Parameters:
targetInt
-- Returns:
-
lessEqual
- Parameters:
targetInt
-- Returns:
-
between
- Parameters:
minValue
-maxValue
-- Returns:
-