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