E
- Thrown exception.@FunctionalInterface public interface FailableDoublePredicate<E extends Throwable>
DoublePredicate
that declares a Throwable
.Modifier and Type | Field and Description |
---|---|
static FailableDoublePredicate |
FALSE
FALSE singleton
|
static FailableDoublePredicate |
TRUE
TRUE singleton
|
Modifier and Type | Method and Description |
---|---|
default FailableDoublePredicate<E> |
and(FailableDoublePredicate<E> other)
Returns a composed
FailableDoublePredicate like DoublePredicate.and(DoublePredicate) . |
static <E extends Throwable> |
falsePredicate()
Returns The FALSE singleton.
|
default FailableDoublePredicate<E> |
negate()
Returns a predicate that negates this predicate.
|
default FailableDoublePredicate<E> |
or(FailableDoublePredicate<E> other)
Returns a composed
FailableDoublePredicate like DoublePredicate.and(DoublePredicate) . |
boolean |
test(double value)
Tests the predicate.
|
static <E extends Throwable> |
truePredicate()
Returns The FALSE TRUE.
|
static final FailableDoublePredicate FALSE
static final FailableDoublePredicate TRUE
static <E extends Throwable> FailableDoublePredicate<E> falsePredicate()
E
- Thrown exception.static <E extends Throwable> FailableDoublePredicate<E> truePredicate()
E
- Thrown exception.default FailableDoublePredicate<E> and(FailableDoublePredicate<E> other)
FailableDoublePredicate
like DoublePredicate.and(DoublePredicate)
.other
- a predicate that will be logically-ANDed with this predicate.FailableDoublePredicate
like DoublePredicate.and(DoublePredicate)
.NullPointerException
- if other is nulldefault FailableDoublePredicate<E> negate()
default FailableDoublePredicate<E> or(FailableDoublePredicate<E> other)
FailableDoublePredicate
like DoublePredicate.and(DoublePredicate)
.other
- a predicate that will be logically-ORed with this predicate.FailableDoublePredicate
like DoublePredicate.and(DoublePredicate)
.NullPointerException
- if other is nullCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.