History - com.mojang.datafixers.util.Either$Left

1.16.1

Names

com.mojang.datafixers.util.Either$Left

Fields

L: value

Constructors

(L)

Methods

<C, D> Either<C, D> (Function<? super L, ? extends C>, Function<? super R, ? extends D>): mapBoth

<T> T (Function<? super L, ? extends T>, Function<? super R, ? extends T>): map

Either<L, R> (Consumer<? super L>): ifLeft

Either<L, R> (Consumer<? super R>): ifRight

Optional<L> (): left

Optional<R> (): right