Interface ThrowableDoublePredicate
-
- All Superinterfaces:
java.util.function.DoublePredicate
- 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 ThrowableDoublePredicate extends java.util.function.DoublePredicateRepresents a predicate (boolean-valued function) of onedouble-valued argument. This is thedouble-consuming primitive type specialization ofThrowablePredicate.Permits checked exceptions unlike
DoublePredicateThis is a functional interface whose functional method is
test(double).- See Also:
ThrowablePredicate
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleantest(double value)Evaluates this predicate on the given argument.booleantestUnsafe(double value)Evaluates this predicate on the given argument.
-
-
-
Method Detail
-
testUnsafe
boolean testUnsafe(double value) throws java.lang.ThrowableEvaluates this predicate on the given argument.- Parameters:
value- the input argument- Returns:
trueif the input argument matches the predicate, otherwisefalse- Throws:
java.lang.Throwable- occurred during processing
-
test
default boolean test(double value)
Evaluates this predicate on the given argument.- Specified by:
testin interfacejava.util.function.DoublePredicate- Parameters:
value- the input argument- Returns:
trueif the input argument matches the predicate, otherwisefalse
-
-