Package com.mojang.datafixers.optics
Class Adapter.Instance<A2,B2>
java.lang.Object
com.mojang.datafixers.optics.Adapter.Instance<A2,B2>
- All Implemented Interfaces:
App<Profunctor.Mu,
,Adapter.Mu<A2, B2>> Kind2<Adapter.Mu<A2,
,B2>, Profunctor.Mu> Profunctor<Adapter.Mu<A2,
B2>, Profunctor.Mu>
public static final class Adapter.Instance<A2,B2>
extends Object
implements Profunctor<Adapter.Mu<A2,B2>,Profunctor.Mu>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mojang.datafixers.optics.profunctors.Profunctor
Profunctor.Mu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<A,
B, C, D> FunctionType<App2<Adapter.Mu<A2, B2>, A, B>, App2<Adapter.Mu<A2, B2>, C, D>> 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.Profunctor
dimap, dimap, lmap, rmap
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
dimap
public <A,B, FunctionType<App2<Adapter.Mu<A2,C, D> B2>, dimapA, B>, App2<Adapter.Mu<A2, B2>, C, D>> (Function<C, A> g, Function<B, D> h) - Specified by:
dimap
in interfaceProfunctor<A2,
B2>
-