Uses of Interface
fj.function.Try0
-
Packages that use Try0 Package Description fj Types that set the premise for the existence of Functional Java.fj.data Common algebraic data types.fj.function A prelude of commonly used first-class functions -
-
Uses of Try0 in fj
Methods in fj that return Try0 Modifier and Type Method Description default <Z extends java.lang.Exception>
Try0<A,Z>F0. toTry0()
Methods in fj with parameters of type Try0 Modifier and Type Method Description static <A,E extends java.lang.Exception>
P1<Validation<E,A>>Try. f(Try0<A,E> t)
Promotes the Try0 to a Validation that returns an Exception on the failure side and its result on the success side.static <A> IO<A>
Try. io(Try0<A,? extends java.io.IOException> t)
-
Uses of Try0 in fj.data
Subinterfaces of Try0 in fj.data Modifier and Type Interface Description interface
IO<A>
IO monad for processing filesinterface
SafeIO<A>
Methods in fj.data that return Try0 Modifier and Type Method Description static <A> Try0<A,java.io.IOException>
IOFunctions. toTry(IO<A> io)
Methods in fj.data that return types with arguments of type Try0 Modifier and Type Method Description static <A,B,Z extends java.io.IOException>
F<Try0<A,Z>,IO<A>>Conversions. Try_IO()
static <A,B,Z extends java.lang.Exception>
F<Try0<A,Z>,SafeIO<Validation<Z,A>>>Conversions. Try_SafeIO()
static <A,E extends java.lang.Exception>
F<Try0<A,E>,java.util.function.Supplier<Validation<E,A>>>Java8. TryCatch0_Supplier()
Methods in fj.data with parameters of type Try0 Modifier and Type Method Description static <A> IO<A>
IOFunctions. fromTry(Try0<A,? extends java.io.IOException> t)
static <A,B,Z extends java.io.IOException>
IO<A>Conversions. Try_IO(Try0<A,Z> t)
static <A,B,Z extends java.lang.Exception>
SafeIO<Validation<Z,A>>Conversions. Try_SafeIO(Try0<A,Z> t)
static <A,E extends java.lang.Exception>
java.util.function.Supplier<Validation<E,A>>Java8. TryCatch0_Supplier(Try0<A,E> t)
-
Uses of Try0 in fj.function
Methods in fj.function that return Try0 Modifier and Type Method Description default <E extends java.lang.Exception>
Try0<Unit,E>Effect0. toTry0()
default Try0<Unit,Z>
TryEffect0. toTry0()
-