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