Uses of Interface
fj.function.Try0
Packages that use Try0
Package
Description
Types that set the premise for the existence of Functional Java.
Common algebraic data types.
A prelude of commonly used first-class functions
-
Uses of Try0 in fj
Modifier and TypeMethodDescriptionstatic <A,
E extends Exception>
P1<Validation<E, A>> 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 IOException> t) -
Uses of Try0 in fj.data
Modifier and TypeInterfaceDescriptioninterface
IO<A>
IO monad for processing filesinterface
SafeIO<A>
Modifier and TypeMethodDescriptionstatic <A,
B, Z extends IOException>
F<Try0<A, Z>, IO<A>> Conversions.Try_IO()
static <A,
B, Z extends Exception>
F<Try0<A, Z>, SafeIO<Validation<Z, A>>> Conversions.Try_SafeIO()
static <A,
E extends Exception>
F<Try0<A, E>, Supplier<Validation<E, A>>> Java8.TryCatch0_Supplier()
Modifier and TypeMethodDescriptionstatic <A> IO
<A> IOFunctions.fromTry
(Try0<A, ? extends IOException> t) static <A,
B, Z extends IOException>
IO<A> static <A,
B, Z extends Exception>
SafeIO<Validation<Z, A>> Conversions.Try_SafeIO
(Try0<A, Z> t) static <A,
E extends Exception>
Supplier<Validation<E, A>> Java8.TryCatch0_Supplier
(Try0<A, E> t) -
Uses of Try0 in fj.function
Methods in fj.function that return Try0