com.mojang.datafixers.util

final class Either$Left<L, R>

extends Either<L, R>

All mapped superinterfaces:

App

com.mojang.datafixers.util.Either$Left

Field summary

Modifier and TypeField
private final L
value

Constructor summary

ModifierConstructor
public (L arg0)

Method summary

Modifier and TypeMethod
public <C, D> Either<C, D>
mapBoth(Function<? super L, ? extends C> arg0, Function<? super R, ? extends D> arg1)
public <T> T
map(Function<? super L, ? extends T> arg0, Function<? super R, ? extends T> arg1)
public Either<L, R>
ifLeft(Consumer<? super L> arg0)
public Either<L, R>
ifRight(Consumer<? super R> arg0)
public Optional<L>
left()
public Optional<R>
right()