Uses of Interface
fj.function.Try1
-
Packages that use Try1 Package Description fj Types that set the premise for the existence of Functional Java.fj.control.db Abstractions for JDBC connections.fj.data Common algebraic data types.fj.function A prelude of commonly used first-class functions -
-
Uses of Try1 in fj
Methods in fj with parameters of type Try1 Modifier and Type Method Description static <A,B,E extends java.lang.Exception>
F<A,Validation<E,B>>Try. f(Try1<A,B,E> t)
Promotes the Try1 to a Validation that returns an Exception on the failure side and its result on the success side. -
Uses of Try1 in fj.control.db
Methods in fj.control.db with parameters of type Try1 Modifier and Type Method Description static <A> DB<A>
DB. db(Try1<java.sql.Connection,A,java.sql.SQLException> t)
Constructs a database action as a function from a database connection to a value. -
Uses of Try1 in fj.data
Methods in fj.data that return types with arguments of type Try1 Modifier and Type Method Description static <A,B,Z extends java.io.IOException>
F<Try1<A,B,Z>,F<A,Validation<Z,B>>>Conversions. Try_F()
static <A,B,E extends java.lang.Exception>
F<Try1<A,B,E>,java.util.function.Function<A,Validation<E,B>>>Java8. TryCatch1_Function()
Methods in fj.data with parameters of type Try1 Modifier and Type Method Description static <A,B,Z extends java.io.IOException>
F<A,Validation<Z,B>>Conversions. Try_F(Try1<A,B,Z> t)
static <A,B,E extends java.lang.Exception>
java.util.function.Function<A,Validation<E,B>>Java8. TryCatch1_Function(Try1<A,B,E> t)
-
Uses of Try1 in fj.function
Methods in fj.function that return Try1 Modifier and Type Method Description default <Z extends java.lang.Exception>
Try1<A,Unit,Z>Effect1. toTry1()
-