Uses of Class
com.github.badpop.jcoinbase.control.CallResult.FailureProjection
Package | Description |
---|---|
com.github.badpop.jcoinbase.control |
-
Uses of CallResult.FailureProjection in com.github.badpop.jcoinbase.control
Methods in com.github.badpop.jcoinbase.control that return CallResult.FailureProjection Modifier and Type Method Description CallResult.FailureProjection<L,R>
CallResult. failure()
Returns a FailureProjection of this CallResult.<U> CallResult.FailureProjection<U,R>
CallResult.FailureProjection. flatMap(java.util.function.Function<? super L,? extends CallResult.FailureProjection<? extends U,R>> mapper)
FlatMaps this FailureProjection.<U> CallResult.FailureProjection<U,R>
CallResult.FailureProjection. map(java.util.function.Function<? super L,? extends U> mapper)
Maps the failure value if the projected CallResult is a Failure.CallResult.FailureProjection<L,R>
CallResult.FailureProjection. orElse(CallResult.FailureProjection<? extends L,? extends R> other)
CallResult.FailureProjection<L,R>
CallResult.FailureProjection. orElse(java.util.function.Supplier<? extends CallResult.FailureProjection<? extends L,? extends R>> supplier)
CallResult.FailureProjection<L,R>
CallResult.FailureProjection. peek(java.util.function.Consumer<? super L> action)
Applies the given action to the value if the projected callResult is a Failure.Methods in com.github.badpop.jcoinbase.control that return types with arguments of type CallResult.FailureProjection Modifier and Type Method Description io.vavr.control.Option<CallResult.FailureProjection<L,R>>
CallResult.FailureProjection. filter(java.util.function.Predicate<? super L> predicate)
ReturnsSome
value of type L if this is a failure projection of a Failure value and the predicate applies to the underlying value.Methods in com.github.badpop.jcoinbase.control with parameters of type CallResult.FailureProjection Modifier and Type Method Description CallResult.FailureProjection<L,R>
CallResult.FailureProjection. orElse(CallResult.FailureProjection<? extends L,? extends R> other)
Method parameters in com.github.badpop.jcoinbase.control with type arguments of type CallResult.FailureProjection Modifier and Type Method Description <U> CallResult.FailureProjection<U,R>
CallResult.FailureProjection. flatMap(java.util.function.Function<? super L,? extends CallResult.FailureProjection<? extends U,R>> mapper)
FlatMaps this FailureProjection.CallResult.FailureProjection<L,R>
CallResult.FailureProjection. orElse(java.util.function.Supplier<? extends CallResult.FailureProjection<? extends L,? extends R>> supplier)
<U> U
CallResult.FailureProjection. transform(java.util.function.Function<? super CallResult.FailureProjection<L,R>,? extends U> f)
Transforms thisFailureProjection
.