Uses of Interface
com.github.badpop.jcoinbase.control.FunctionalValue
Package | Description |
---|---|
com.github.badpop.jcoinbase.control |
-
Uses of FunctionalValue in com.github.badpop.jcoinbase.control
Classes in com.github.badpop.jcoinbase.control that implement FunctionalValue Modifier and Type Class Description class
CallResult<L,R>
Call result is a simplified version of the vavrEither
adapted to the JCoinbase needs.static class
CallResult.Failure<L,R>
TheFailure
version of aCallResult
.static class
CallResult.FailureProjection<L,R>
A failure projection of a CallResult.static class
CallResult.Success<L,R>
TheSuccess
version of aCallResult
.static class
CallResult.SuccessProjection<L,R>
A success projection of a CallResult.Methods in com.github.badpop.jcoinbase.control that return FunctionalValue Modifier and Type Method Description <U> FunctionalValue<U>
FunctionalValue. map(java.util.function.Function<? super T,? extends U> mapper)
Maps the underlying functionalValue to a different component type.FunctionalValue<T>
FunctionalValue. peek(java.util.function.Consumer<? super T> action)
Performs the givenaction
on the first element if this is an eager implementation.