Package org.dmfs.jems2.function
Class Unchecked<Argument,Result,E extends java.lang.Exception>
- java.lang.Object
-
- org.dmfs.jems2.function.Unchecked<Argument,Result,E>
-
- All Implemented Interfaces:
FragileFunction<Argument,Result,java.lang.RuntimeException>,Function<Argument,Result>
public final class Unchecked<Argument,Result,E extends java.lang.Exception> extends java.lang.Object implements Function<Argument,Result>
-
-
Constructor Summary
Constructors Constructor Description Unchecked(java.lang.String message, FragileFunction<Argument,Result,E> delegate)Unchecked(FragileFunction<Argument,Result,E> delegate)Unchecked(Function<? super E,? extends java.lang.RuntimeException> exceptionFunction, FragileFunction<Argument,Result,E> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultvalue(Argument argument)Returns the value of this function at the given argument.
-
-
-
Constructor Detail
-
Unchecked
public Unchecked(FragileFunction<Argument,Result,E> delegate)
-
Unchecked
public Unchecked(java.lang.String message, FragileFunction<Argument,Result,E> delegate)
-
-