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