Package com.mojang.datafixers.kinds
Enum Class ListBox.Instance
- All Implemented Interfaces:
App<ListBox.Instance.Mu,
,ListBox.Mu> Functor<ListBox.Mu,
,ListBox.Instance.Mu> Kind1<ListBox.Mu,
,ListBox.Instance.Mu> Traversable<ListBox.Mu,
,ListBox.Instance.Mu> Serializable
,Comparable<ListBox.Instance>
,Constable
public static enum ListBox.Instance
extends Enum<ListBox.Instance>
implements Traversable<ListBox.Mu,ListBox.Instance.Mu>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescription<T,
R> App<ListBox.Mu, R> map
(Function<? super T, ? extends R> func, App<ListBox.Mu, T> ts) <F extends K1,
A, B>
App<F,App<ListBox.Mu, B>> traverse
(Applicative<F, ?> applicative, Function<A, App<F, B>> function, App<ListBox.Mu, A> input) static ListBox.Instance
Returns the enum constant of this class with the specified name.static ListBox.Instance[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
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
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
map
- Specified by:
map
in interfaceFunctor<ListBox.Mu,
ListBox.Instance.Mu>
-
traverse
public <F extends K1,A, App<F,B> App<ListBox.Mu, traverseB>> (Applicative<F, ?> applicative, Function<A, App<F, B>> function, App<ListBox.Mu, A> input) - Specified by:
traverse
in interfaceTraversable<ListBox.Mu,
ListBox.Instance.Mu>
-