All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static <S,T,A,B> Adapter<S::A,T::B> |
adapter((S) -> A from,
(B) -> T to) |
static <S,T,A,B> Affine<S::A,T::B> |
affine((S) -> (T|A) preview,
(B,S) -> T build) |
static <F,G,F2,G2,A,B> Affine<(F|G)::A,(F2|G2)::B> |
eitherAffine(Affine<F::A,F2::B> fAffine,
Affine<G::A,G2::B> gAffine) |
static <F,G,F2,G2,A,B> Lens<(F|G)::A,(F2|G2)::B> |
eitherLens(Lens<F::A,F2::B> fLens,
Lens<G::A,G2::B> gLens) |
static <F,G,F2,G2,A,B> Traversal<(F|G)::A,(F2|G2)::B> |
eitherTraversal(Traversal<F::A,F2::B> fOptic,
Traversal<G::A,G2::B> gOptic) |
static <R,A,B> Forget<R,A,B> |
forget((A) -> R function) |
static <R,A,B> com.mojang.datafixers.optics.ForgetE<R,A,B> |
forgetE((A) -> (B|R) function) |
static <R,A,B> ForgetOpt<R,A,B> |
forgetOpt((A) -> Optional<R> function) |
static <A,B> (A) -> B |
getFunc((A) -> B box) |
static <S,T,A,B> com.mojang.datafixers.optics.Getter<S,T,A,B> |
getter((S) -> A get) |
static <S,T,A,B> com.mojang.datafixers.optics.Grate<S,T,A,B> |
grate((((S) -> A) -> B) -> T grate) |
static <S,T> Adapter<S::S,T::T> |
id() |
static <F,G,F2> Inj1<F,G,F2> |
inj1() |
static <F,G,G2> Inj2<F,G,G2> |
inj2() |
static <S,T,A,B> Lens<S::A,T::B> |
lens((S) -> A view,
(B,S) -> T update) |
static <S,T,A,B> Prism<S::A,T::B> |
prism((S) -> (T|A) match,
(B) -> T build) |
static <F,G,F2> Proj1<F,G,F2> |
proj1() |
static <F,G,G2> Proj2<F,G,G2> |
proj2() |
static <I,J,X> com.mojang.datafixers.optics.PStore<I,J,X> |
pStore((J) -> X peek,
by-name I pos) |
static <R,A,B> com.mojang.datafixers.optics.ReForget<R,A,B> |
reForget((R) -> B function) |
static <R,A,B> ReForgetC<R,A,B> |
reForgetC(String name,
((R) -> B|(A,R) -> B) either) |
static <R,A,B> com.mojang.datafixers.optics.ReForgetE<R,A,B> |
reForgetE(String name,
((A|R)) -> B function) |
static <R,A,B> com.mojang.datafixers.optics.ReForgetEP<R,A,B> |
reForgetEP(String name,
((A|(A,R))) -> B function) |
static <R,A,B> com.mojang.datafixers.optics.ReForgetP<R,A,B> |
reForgetP(String name,
(A,R) -> B function) |
static <S,T,A,B> Adapter<S::A,T::B> |
toAdapter(Optic<? super Profunctor _,S::A,T::B> optic) |
static <S,T,A,B> Affine<S::A,T::B> |
toAffine(Optic<? super AffineP _,S::A,T::B> optic) |
static <S,T,A,B> com.mojang.datafixers.optics.Getter<S,T,A,B> |
toGetter(Optic<? super GetterP.Mu,S::A,T::B> optic) |
static <S,T,A,B> Lens<S::A,T::B> |
toLens(Optic<? super Cartesian _,S::A,T::B> optic) |
static <S,T,A,B> Prism<S::A,T::B> |
toPrism(Optic<? super Cocartesian _,S::A,T::B> optic) |
static <S,T,A,B> Traversal<S::A,T::B> |
toTraversal(Optic<? super TraversalP _,S::A,T::B> optic) |