public interface DoublePredicate extends Throwables.DoublePredicate<RuntimeException>, DoublePredicate
| Modifier and Type | Field and Description |
|---|---|
static DoublePredicate |
ALWAYS_FALSE |
static DoublePredicate |
ALWAYS_TRUE |
static DoublePredicate |
IS_NEGATIVE |
static DoublePredicate |
IS_POSITIVE |
static DoublePredicate |
IS_ZERO |
static DoublePredicate |
NOT_NEGATIVE |
static DoublePredicate |
NOT_POSITIVE |
static DoublePredicate |
NOT_ZERO |
| Modifier and Type | Method and Description |
|---|---|
default 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 instance
|
default DoublePredicate |
or(DoublePredicate other) |
boolean |
test(double value) |
static final DoublePredicate ALWAYS_TRUE
static final DoublePredicate ALWAYS_FALSE
static final DoublePredicate IS_ZERO
static final DoublePredicate NOT_ZERO
static final DoublePredicate IS_POSITIVE
static final DoublePredicate NOT_POSITIVE
static final DoublePredicate IS_NEGATIVE
static final DoublePredicate NOT_NEGATIVE
boolean test(double value)
test in interface DoublePredicatetest in interface Throwables.DoublePredicate<RuntimeException>default DoublePredicate negate()
negate in interface DoublePredicatedefault DoublePredicate and(DoublePredicate other)
and in interface DoublePredicatedefault DoublePredicate or(DoublePredicate other)
or in interface DoublePredicatestatic DoublePredicate of(DoublePredicate predicate)
predicate - static DoublePredicate equal(double targetDouble)
static DoublePredicate notEqual(double targetDouble)
static DoublePredicate greaterThan(double targetDouble)
static DoublePredicate greaterEqual(double targetDouble)
static DoublePredicate lessThan(double targetDouble)
static DoublePredicate lessEqual(double targetDouble)
static DoublePredicate between(double minValue, double maxValue)
Copyright © 2021. All rights reserved.