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