Interface FailableDoublePredicate<E extends 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.
A functional interface like 
DoublePredicate that declares a Throwable.- Since:
- 3.11
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final FailableDoublePredicateFALSE singletonstatic final FailableDoublePredicateTRUE singleton
- 
Method SummaryModifier and TypeMethodDescriptiondefault FailableDoublePredicate<E>and(FailableDoublePredicate<E> other) Returns a composedFailableDoublePredicatelikeDoublePredicate.and(DoublePredicate).static <E extends Throwable>
 FailableDoublePredicate<E>Returns The FALSE singleton.default FailableDoublePredicate<E>negate()Returns a predicate that negates this predicate.default FailableDoublePredicate<E>or(FailableDoublePredicate<E> other) Returns a composedFailableDoublePredicatelikeDoublePredicate.and(DoublePredicate).booleantest(double value) Tests the predicate.static <E extends Throwable>
 FailableDoublePredicate<E>Returns The TRUE singleton.
- 
Field Details- 
FALSEFALSE singleton
- 
TRUETRUE singleton
 
- 
- 
Method Details- 
falsePredicateReturns The FALSE singleton.- Type Parameters:
- E- The kind of thrown exception or error.
- Returns:
- The NOP singleton.
 
- 
truePredicateReturns The TRUE singleton.- Type Parameters:
- E- The kind of thrown exception or error.
- Returns:
- The NOP singleton.
 
- 
andReturns a composedFailableDoublePredicatelikeDoublePredicate.and(DoublePredicate).- Parameters:
- other- a predicate that will be logically-ANDed with this predicate.
- Returns:
- a composed FailableDoublePredicatelikeDoublePredicate.and(DoublePredicate).
- Throws:
- NullPointerException- if other is null
 
- 
negateReturns a predicate that negates this predicate.- Returns:
- a predicate that negates this predicate.
 
- 
orReturns a composedFailableDoublePredicatelikeDoublePredicate.and(DoublePredicate).- Parameters:
- other- a predicate that will be logically-ORed with this predicate.
- Returns:
- a composed FailableDoublePredicatelikeDoublePredicate.and(DoublePredicate).
- Throws:
- NullPointerException- if other is null
 
- 
testTests the predicate.- Parameters:
- value- the parameter for the predicate to accept.
- Returns:
- trueif the input argument matches the predicate,- falseotherwise.
- Throws:
- E- Thrown when the consumer fails.
 
 
-