Uses of Class
io.vavr.control.Either.RightProjection
-
Packages that use Either.RightProjection Package Description io.vavr.control -
-
Uses of Either.RightProjection in io.vavr.control
Methods in io.vavr.control that return Either.RightProjection Modifier and Type Method Description <L2,R2>
Either.RightProjection<L2,R2>Either.RightProjection. bimap(@NonNull java.util.function.Function<? super L,? extends L2> leftMapper, @NonNull java.util.function.Function<? super R,? extends R2> rightMapper)Deprecated.Applies transformations to the underlyingEitherby delegating toEither.bimap(Function, Function)and returns the right projection of the result.<U> Either.RightProjection<L,U>Either.RightProjection. flatMap(@NonNull java.util.function.Function<? super R,? extends Either.RightProjection<L,? extends U>> mapper)Deprecated.FlatMaps this RightProjection.<U> Either.RightProjection<L,U>Either.RightProjection. map(@NonNull java.util.function.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(@NonNull Either.RightProjection<? extends L,? extends R> other)Deprecated.Returns thisRightProjectionif the underlyingEitheris aEither.Right, otherwise returns the givenotherprojection.Either.RightProjection<L,R>Either.RightProjection. orElse(@NonNull java.util.function.Supplier<? extends Either.RightProjection<? extends L,? extends R>> supplier)Deprecated.Returns thisRightProjectionif the underlyingEitheris aEither.Right, otherwise returns the result of evaluating the givensupplier.Either.RightProjection<L,R>Either.RightProjection. peek(@NonNull java.util.function.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.Methods in io.vavr.control that return types with arguments of type Either.RightProjection Modifier and Type Method Description Option<Either.RightProjection<L,R>>Either.RightProjection. filter(@NonNull java.util.function.Predicate<? super R> predicate)Deprecated.ReturnsSomevalue of type R if this is a right projection of a Right value and the predicate applies to the underlying value.Methods in io.vavr.control with parameters of type Either.RightProjection Modifier and Type Method Description Either.RightProjection<L,R>Either.RightProjection. orElse(@NonNull Either.RightProjection<? extends L,? extends R> other)Deprecated.Returns thisRightProjectionif the underlyingEitheris aEither.Right, otherwise returns the givenotherprojection.Method parameters in io.vavr.control with type arguments of type Either.RightProjection Modifier and Type Method Description <U> Either.RightProjection<L,U>Either.RightProjection. flatMap(@NonNull java.util.function.Function<? super R,? extends Either.RightProjection<L,? extends U>> mapper)Deprecated.FlatMaps this RightProjection.Either.RightProjection<L,R>Either.RightProjection. orElse(@NonNull java.util.function.Supplier<? extends Either.RightProjection<? extends L,? extends R>> supplier)Deprecated.Returns thisRightProjectionif the underlyingEitheris aEither.Right, otherwise returns the result of evaluating the givensupplier.<U> UEither.RightProjection. transform(@NonNull java.util.function.Function<? super Either.RightProjection<L,R>,? extends U> f)Deprecated.Transforms thisRightProjection.
-