Either.Left, Either.Right
static final record
Either.Left<A,B>
Either.Right<A,B>
default <C> Either<A,C>
bind(Function<B, Either<A,C>> function)
default Optional<A>
getLeft()
default Optional<B>
getRight()
map(Function<B,C> function)
default <X> X
match(Function<A,X> f, Function<B,X> g)
static <A,B> Collector<Either<A,B>, ?, Either<A,List<B>>>
reduce()