Package com.mojang.datafixers.optics
Class Traversal.Instance<A2,B2>
java.lang.Object
com.mojang.datafixers.optics.Traversal.Instance<A2,B2>
- All Implemented Interfaces:
App<TraversalP.Mu,
,Traversal.Mu<A2, B2>> Kind2<Traversal.Mu<A2,
,B2>, TraversalP.Mu> AffineP<Traversal.Mu<A2,
,B2>, TraversalP.Mu> Cartesian<Traversal.Mu<A2,
,B2>, TraversalP.Mu> Cocartesian<Traversal.Mu<A2,
,B2>, TraversalP.Mu> Profunctor<Traversal.Mu<A2,
,B2>, TraversalP.Mu> TraversalP<Traversal.Mu<A2,
B2>, TraversalP.Mu>
public static final class Traversal.Instance<A2,B2>
extends Object
implements TraversalP<Traversal.Mu<A2,B2>,TraversalP.Mu>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mojang.datafixers.optics.profunctors.TraversalP
TraversalP.Mu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<A,
B, C, D> FunctionType<App2<Traversal.Mu<A2, B2>, A, B>, App2<Traversal.Mu<A2, B2>, C, D>> <S,
T, A, B> App2<Traversal.Mu<A2, B2>, S, T> 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
right, toFP
Methods inherited from interface com.mojang.datafixers.optics.profunctors.Profunctor
dimap, dimap, lmap, rmap
Methods inherited from interface com.mojang.datafixers.optics.profunctors.TraversalP
first, left, toFP3, traverse
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
dimap
public <A,B, FunctionType<App2<Traversal.Mu<A2,C, D> B2>, dimapA, B>, App2<Traversal.Mu<A2, B2>, C, D>> (Function<C, A> g, Function<B, D> h) - Specified by:
dimap
in interfaceProfunctor<A2,
B2>
-
wander
public <S,T, App2<Traversal.Mu<A2,A, B> B2>, wanderS, T> (Wander<S, T, A, B> wander, App2<Traversal.Mu<A2, B2>, A, B> input) - Specified by:
wander
in interfaceTraversalP<A2,
B2>
-