Package org.dmfs.jems2.function
Class Unchecked<Argument,Result,E extends Throwable>
java.lang.Object
org.dmfs.jems2.function.Unchecked<Argument,Result,E>
- All Implemented Interfaces:
FragileFunction<Argument,,Result, RuntimeException> Function<Argument,,Result> ThrowingFunction<Argument,Result>
-
Constructor Summary
ConstructorsConstructorDescriptionUnchecked(String message, ThrowingFunction<Argument, Result> delegate) Unchecked(Function<? super E, ? extends RuntimeException> exceptionFunction, ThrowingFunction<Argument, Result> delegate) Unchecked(ThrowingFunction<Argument, Result> delegate) -
Method Summary
-
Constructor Details
-
Unchecked
-
Unchecked
-
Unchecked
public Unchecked(Function<? super E, ? extends RuntimeException> exceptionFunction, ThrowingFunction<Argument, Result> delegate)
-
-
Method Details
-
value
Description copied from interface:FunctionReturns the value of this function at the given argument.
-