Package | Description |
---|---|
io.vavr.control |
Modifier and Type | Method and Description |
---|---|
<L2,R2> Either.LeftProjection<L2,R2> |
Either.LeftProjection.bimap(Function<? super L,? extends L2> leftMapper,
Function<? super R,? extends R2> rightMapper)
Deprecated.
|
<U> Either.LeftProjection<U,R> |
Either.LeftProjection.flatMap(Function<? super L,? extends Either.LeftProjection<? extends U,R>> mapper)
Deprecated.
FlatMaps this LeftProjection.
|
default Either.LeftProjection<L,R> |
Either.left()
Deprecated.
Either is right-biased. Use
Either.swap() instead of projections. |
<U> Either.LeftProjection<U,R> |
Either.LeftProjection.map(Function<? super L,? extends U> mapper)
Deprecated.
Maps the left value if the projected Either is a Left.
|
Either.LeftProjection<L,R> |
Either.LeftProjection.orElse(Either.LeftProjection<? extends L,? extends R> other)
Deprecated.
|
Either.LeftProjection<L,R> |
Either.LeftProjection.orElse(Supplier<? extends Either.LeftProjection<? extends L,? extends R>> supplier)
Deprecated.
|
Either.LeftProjection<L,R> |
Either.LeftProjection.peek(Consumer<? super L> action)
Deprecated.
Applies the given action to the value if the projected either is a Left.
|
Modifier and Type | Method and Description |
---|---|
Option<Either.LeftProjection<L,R>> |
Either.LeftProjection.filter(Predicate<? super L> predicate)
Deprecated.
Returns
Some value of type L if this is a left projection of a Left value and the predicate
applies to the underlying value. |
Modifier and Type | Method and Description |
---|---|
Either.LeftProjection<L,R> |
Either.LeftProjection.orElse(Either.LeftProjection<? extends L,? extends R> other)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<U> Either.LeftProjection<U,R> |
Either.LeftProjection.flatMap(Function<? super L,? extends Either.LeftProjection<? extends U,R>> mapper)
Deprecated.
FlatMaps this LeftProjection.
|
Either.LeftProjection<L,R> |
Either.LeftProjection.orElse(Supplier<? extends Either.LeftProjection<? extends L,? extends R>> supplier)
Deprecated.
|
<U> U |
Either.LeftProjection.transform(Function<? super Either.LeftProjection<L,R>,? extends U> f)
Deprecated.
Transforms this
LeftProjection . |
Copyright © 2019. All Rights Reserved.