Package com.hazelcast.function
Interface ToDoubleFunctionEx<T>
- Type Parameters:
T- the type of the input to the function
- All Superinterfaces:
Serializable,ToDoubleFunction<T>
- 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 ToDoubleFunctionEx<T>
extends ToDoubleFunction<T>, Serializable
Serializable variant of java.util.function.ToDoubleFunction which declares checked exception.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault doubleapplyAsDouble(T value) doubleapplyAsDoubleEx(T value) Exception-declaring version ofToDoubleFunction.applyAsDouble(T).
-
Method Details
-
applyAsDoubleEx
Exception-declaring version ofToDoubleFunction.applyAsDouble(T).- Throws:
Exception- in case of any exceptional case
-
applyAsDouble
- Specified by:
applyAsDoublein interfaceToDoubleFunction<T>
-