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
Nested Classes -
Constructor Summary
Constructors -
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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Cocartesian
toFPMethods inherited from interface Profunctor
dimap, dimap, lmap, rmap
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
dimap
public <A,B, FunctionType<App2<ReForgetC.Mu<R>, A, B>, App2<ReForgetC.Mu<R>, C, D>> dimapC, D> (Function<C, A> g, Function<B, D> h) - Specified by:
dimapin interfaceProfunctor<ReForgetC.Mu<R>, ReForgetC.Instance.Mu<R>>
-
first
- Specified by:
firstin interfaceCartesian<ReForgetC.Mu<R>, ReForgetC.Instance.Mu<R>>
-
second
public <A,B, App2<ReForgetC.Mu<R>, Pair<C,C> A>, Pair<C, secondB>> (App2<ReForgetC.Mu<R>, A, B> input) - Specified by:
secondin interfaceCartesian<ReForgetC.Mu<R>, ReForgetC.Instance.Mu<R>>
-
left
public <A,B, App2<ReForgetC.Mu<R>, Either<A,C> C>, Either<B, leftC>> (App2<ReForgetC.Mu<R>, A, B> input) - Specified by:
leftin interfaceCocartesian<ReForgetC.Mu<R>, ReForgetC.Instance.Mu<R>>
-
right
public <A,B, App2<ReForgetC.Mu<R>, Either<C,C> A>, Either<C, rightB>> (App2<ReForgetC.Mu<R>, A, B> input) - Specified by:
rightin interfaceCocartesian<ReForgetC.Mu<R>, ReForgetC.Instance.Mu<R>>
-