Uses of Class
software.amazon.awssdk.utils.Either
-
Packages that use Either Package Description software.amazon.awssdk.utils -
-
Uses of Either in software.amazon.awssdk.utils
Methods in software.amazon.awssdk.utils that return Either Modifier and Type Method Description static <L,R>
Either<L,R>Either. left(L value)Create a new Either with the left type.<T> Either<T,R>Either. mapLeft(Function<? super L,? extends T> lFunc)Map the left most value and return a new Either reflecting the new types.<T> Either<L,T>Either. mapRight(Function<? super R,? extends T> rFunc)Map the right most value and return a new Either reflecting the new types.static <L,R>
Either<L,R>Either. right(R value)Create a new Either with the right type.Methods in software.amazon.awssdk.utils that return types with arguments of type Either Modifier and Type Method Description static <L,R>
Optional<Either<L,R>>Either. fromNullable(L left, R right)Create a newOptional<Either>from two possibly null values.
-