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 ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
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.InstanceReturns 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 Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface Kind1
group, group, group, group, group, group, group, group, group, group, group, group, group, group, group, groupMethods inherited from interface Traversable
flip
-
Enum Constant Details
-
INSTANCE
-
-
Constructor Details
-
Instance
private 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:
mapin interfaceFunctor<ListBox.Mu, ListBox.Instance.Mu>
-
traverse
public <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) - Specified by:
traversein interfaceTraversable<ListBox.Mu, ListBox.Instance.Mu>
-