Package fj.function
Interface Try0<A,Z extends java.lang.Exception>
-
public interface Try0<A,Z extends java.lang.Exception>
A product ofA
which may throw anException
. Used to instantiate a lambda that may throw anException
before converting to aP1
.- See Also:
Try.f(Try0)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description A
f()
default Effect0
toEffect0()
default F0<Validation<Z,A>>
toF0()
default P1<Validation<Z,A>>
toP1()
default TryEffect0<Z>
toTryEffect0()
-
-
-
Method Detail
-
toF0
default F0<Validation<Z,A>> toF0()
-
toTryEffect0
default TryEffect0<Z> toTryEffect0()
-
toEffect0
default Effect0 toEffect0()
-
toP1
default P1<Validation<Z,A>> toP1()
-
-