Package com.mojang.datafixers.optics
Class ReForgetC.Instance<R>
java.lang.Object
com.mojang.datafixers.optics.ReForgetC.Instance<R>
- All Implemented Interfaces:
App<ReForgetC.Instance.Mu<R>,
,ReForgetC.Mu<R>> Kind2<ReForgetC.Mu<R>,
,ReForgetC.Instance.Mu<R>> AffineP<ReForgetC.Mu<R>,
,ReForgetC.Instance.Mu<R>> Cartesian<ReForgetC.Mu<R>,
,ReForgetC.Instance.Mu<R>> Cocartesian<ReForgetC.Mu<R>,
,ReForgetC.Instance.Mu<R>> Profunctor<ReForgetC.Mu<R>,
ReForgetC.Instance.Mu<R>>
public static final class ReForgetC.Instance<R>
extends Object
implements AffineP<ReForgetC.Mu<R>,ReForgetC.Instance.Mu<R>>, App<ReForgetC.Instance.Mu<R>,ReForgetC.Mu<R>>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<A,
B, C, D> FunctionType<App2<ReForgetC.Mu<R>, A, B>, App2<ReForgetC.Mu<R>, C, D>> <A,
B, C> App2<ReForgetC.Mu<R>, Pair<A, C>, Pair<B, C>> first
(App2<ReForgetC.Mu<R>, A, B> input) <A,
B, C> App2<ReForgetC.Mu<R>, Either<A, C>, Either<B, C>> left
(App2<ReForgetC.Mu<R>, A, B> input) <A,
B, C> App2<ReForgetC.Mu<R>, Either<C, A>, Either<C, B>> right
(App2<ReForgetC.Mu<R>, A, B> input) <A,
B, C> App2<ReForgetC.Mu<R>, Pair<C, A>, Pair<C, B>> second
(App2<ReForgetC.Mu<R>, A, B> input) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.datafixers.optics.profunctors.Cocartesian
toFP
Methods inherited from interface com.mojang.datafixers.optics.profunctors.Profunctor
dimap, dimap, lmap, rmap
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
dimap
public <A,B, FunctionType<App2<ReForgetC.Mu<R>,C, D> A, dimapB>, App2<ReForgetC.Mu<R>, C, D>> (Function<C, A> g, Function<B, D> h) - Specified by:
dimap
in interfaceProfunctor<ReForgetC.Mu<R>,
ReForgetC.Instance.Mu<R>>
-
first
- Specified by:
first
in interfaceCartesian<ReForgetC.Mu<R>,
ReForgetC.Instance.Mu<R>>
-
second
- Specified by:
second
in interfaceCartesian<ReForgetC.Mu<R>,
ReForgetC.Instance.Mu<R>>
-
left
public <A,B, App2<ReForgetC.Mu<R>,C> Either<A, leftC>, Either<B, C>> (App2<ReForgetC.Mu<R>, A, B> input) - Specified by:
left
in interfaceCocartesian<ReForgetC.Mu<R>,
ReForgetC.Instance.Mu<R>>
-
right
public <A,B, App2<ReForgetC.Mu<R>,C> Either<C, rightA>, Either<C, B>> (App2<ReForgetC.Mu<R>, A, B> input) - Specified by:
right
in interfaceCocartesian<ReForgetC.Mu<R>,
ReForgetC.Instance.Mu<R>>
-