Interface FailableIntPredicate<E extends java.lang.Throwable>
- 
- Type Parameters:
 E- The kind of thrown exception or error.
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
@FunctionalInterface public interface FailableIntPredicate<E extends java.lang.Throwable>A functional interface likeIntPredicatethat declares aThrowable.- Since:
 - 3.11
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static FailableIntPredicateFALSEFALSE singletonstatic FailableIntPredicateTRUETRUE singleton 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FailableIntPredicate<E>and(FailableIntPredicate<E> other)Returns a composedFailableIntPredicatelikeIntPredicate.and(IntPredicate).static <E extends java.lang.Throwable>
FailableIntPredicate<E>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 composedFailableIntPredicatelikeIntPredicate.and(IntPredicate).booleantest(int value)Tests the predicate.static <E extends java.lang.Throwable>
FailableIntPredicate<E>truePredicate()Returns The TRUE singleton. 
 - 
 
- 
- 
Field Detail
- 
FALSE
static final FailableIntPredicate FALSE
FALSE singleton 
- 
TRUE
static final FailableIntPredicate TRUE
TRUE singleton 
 - 
 
- 
Method Detail
- 
falsePredicate
static <E extends java.lang.Throwable> FailableIntPredicate<E> falsePredicate()
Returns The FALSE singleton.- Type Parameters:
 E- The kind of thrown exception or error.- Returns:
 - The NOP singleton.
 
 
- 
truePredicate
static <E extends java.lang.Throwable> FailableIntPredicate<E> truePredicate()
Returns The TRUE singleton.- Type Parameters:
 E- The kind of thrown exception or error.- Returns:
 - The NOP singleton.
 
 
- 
and
default FailableIntPredicate<E> and(FailableIntPredicate<E> other)
Returns a composedFailableIntPredicatelikeIntPredicate.and(IntPredicate).- Parameters:
 other- a predicate that will be logically-ANDed with this predicate.- Returns:
 - a composed 
FailableIntPredicatelikeIntPredicate.and(IntPredicate). - Throws:
 java.lang.NullPointerException- if other is null
 
- 
negate
default FailableIntPredicate<E> negate()
Returns a predicate that negates this predicate.- Returns:
 - a predicate that negates this predicate.
 
 
- 
or
default FailableIntPredicate<E> or(FailableIntPredicate<E> other)
Returns a composedFailableIntPredicatelikeIntPredicate.and(IntPredicate).- Parameters:
 other- a predicate that will be logically-ORed with this predicate.- Returns:
 - a composed 
FailableIntPredicatelikeIntPredicate.and(IntPredicate). - Throws:
 java.lang.NullPointerException- if other is null
 
- 
test
boolean test(int value) throws E extends java.lang.ThrowableTests the predicate. 
 - 
 
 -