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