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