Class Try.Success<V>
- java.lang.Object
-
- io.streamthoughts.azkarra.api.monad.Try.Success<V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.streamthoughts.azkarra.api.monad.Try
Try.Failure<V>, Try.Retriable<V>, Try.Success<V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <B> Try<B>flatMap(Function<? super V,Try<B>> mapper)Vget()ThrowablegetThrowable()booleanisFailure()booleanisSuccess()<B> Try<B>map(Function<? super V,? extends B> mapper)Try<V>recover(Function<? super Throwable,Try<V>> f)<U> Try<U>transform(Function<V,Try<U>> s, Function<Throwable,Try<U>> f)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.streamthoughts.azkarra.api.monad.Try
toOptional
-
-
-
-
Method Detail
-
getThrowable
public Throwable getThrowable()
- Specified by:
getThrowablein interfaceTry<V>
-
-