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