Package fj.function
Interface Try0<A,Z extends Exception>
public interface Try0<A,Z extends Exception>
A product of
A
which may throw an Exception
.
Used to instantiate a lambda that may throw an Exception
before converting to a P1
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionf()
default Effect0
default F0
<Validation<Z, A>> toF0()
default P1
<Validation<Z, A>> toP1()
default TryEffect0
<Z>
-
Method Details
-
f
- Throws:
Z
-
toF0
-
toTryEffect0
-
toEffect0
-
toP1
-