Interface CheckedToDoubleFunction<T,E extends Exception>
- Type Parameters:
T- the type of the first argument to the functionE- exception-type that can be thrown duringapplyAsDouble
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
ToDoubleFunction but can also thrown an exception.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptiondoubleapplyAsDouble(T t) Applies this function to the given arguments.
-
Method Details
-
applyAsDouble
Applies this function to the given arguments.- Parameters:
t- the function argument.- Returns:
- the function result.
- Throws:
E- if an error occurs.
-