Package | Description |
---|---|
javaslang.control |
Modifier and Type | Method and Description |
---|---|
<U> Either.LeftProjection<U,R> |
Either.LeftProjection.flatMap(java.util.function.Function<? super L,? extends Iterable<? extends U>> mapper)
FlatMaps the left value if the projected Either is a Left.
|
default Either.LeftProjection<L,R> |
Either.left()
Returns a LeftProjection of this Either.
|
<U> Either.LeftProjection<U,R> |
Either.LeftProjection.map(java.util.function.Function<? super L,? extends U> mapper)
Maps the left value if the projected Either is a Left.
|
Either.LeftProjection<L,R> |
Either.LeftProjection.peek(java.util.function.Consumer<? super L> action)
Applies the given action to the value if the projected either is a Left.
|
Copyright © 2015. All Rights Reserved.