Module com.machinezoo.noexception
Interface ThrowingLongToDoubleFunction
-
- 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 ThrowingLongToDoubleFunction
Variation ofLongToDoubleFunctionthat allows throwing checked exceptions.ThrowingLongToDoubleFunctionis usually implemented by a lambda and passed toCheckedExceptionHandler.fromLongToDoubleFunction(ThrowingLongToDoubleFunction). See noexception tutorial.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleapplyAsDouble(long value)Variation ofLongToDoubleFunction.applyAsDouble(long)that allows throwing checked exceptions.
-
-
-
Method Detail
-
applyAsDouble
double applyAsDouble(long value) throws ThrowableVariation ofLongToDoubleFunction.applyAsDouble(long)that allows throwing checked exceptions.- Parameters:
-
value- seeLongToDoubleFunction.applyAsDouble(long) - Returns:
-
see
LongToDoubleFunction.applyAsDouble(long) - Throws:
-
Throwable- if unable to complete - See Also:
-
CheckedExceptionHandler.fromLongToDoubleFunction(ThrowingLongToDoubleFunction),LongToDoubleFunction.applyAsDouble(long)
-
-