com.mojang.datafixers.optics

public interface Lens<S, T, A, B>

extends App2<Lens$Mu<A, B>, S, T>, Optic<Cartesian$Mu, S, T, A, B>

com.mojang.datafixers.optics.Lens

Method summary

Modifier and TypeMethod
static <S, T, A, B> Lens<S, T, A, B>
unbox(App2<Lens$Mu<A, B>, S, T> arg0)
static <S, T, A, B> Lens<S, T, A, B>
unbox2(App2<Lens$Mu2<S, T>, B, A> arg0)
static <S, T, A, B> App2<Lens$Mu2<S, T>, B, A>
box(Lens<S, T, A, B> arg0)
A
view(S arg0)
T
update(B arg0, S arg1)
default <P extends K2> FunctionType<App2<P, A, B>, App2<P, S, T>>
eval(App<? extends Cartesian$Mu, P> arg0)