Package com.mojang.datafixers.util
Class Pair.Instance<S2>
java.lang.Object
com.mojang.datafixers.util.Pair.Instance<S2>
- All Implemented Interfaces:
App<Pair.Instance.Mu<S2>,
,Pair.Mu<S2>> CartesianLike<Pair.Mu<S2>,
,S2, Pair.Instance.Mu<S2>> Functor<Pair.Mu<S2>,
,Pair.Instance.Mu<S2>> Kind1<Pair.Mu<S2>,
,Pair.Instance.Mu<S2>> Traversable<Pair.Mu<S2>,
Pair.Instance.Mu<S2>>
public static final class Pair.Instance<S2>
extends Object
implements Traversable<Pair.Mu<S2>,Pair.Instance.Mu<S2>>, CartesianLike<Pair.Mu<S2>,S2,Pair.Instance.Mu<S2>>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.datafixers.kinds.Kind1
group, group, group, group, group, group, group, group, group, group, group, group, group, group, group, group
Methods inherited from interface com.mojang.datafixers.kinds.Traversable
flip
-
Constructor Details
-
Instance
public Instance()
-
-
Method Details
-
map
-
traverse
public <F extends K1,A, App<F,B> App<Pair.Mu<S2>, traverseB>> (Applicative<F, ?> applicative, Function<A, App<F, B>> function, App<Pair.Mu<S2>, A> input) - Specified by:
traverse
in interfaceCartesianLike<Pair.Mu<S2>,
S2, Pair.Instance.Mu<S2>> - Specified by:
traverse
in interfaceTraversable<Pair.Mu<S2>,
Pair.Instance.Mu<S2>>
-
to
- Specified by:
to
in interfaceCartesianLike<Pair.Mu<S2>,
S2, Pair.Instance.Mu<S2>>
-
from
- Specified by:
from
in interfaceCartesianLike<Pair.Mu<S2>,
S2, Pair.Instance.Mu<S2>>
-