Enum Class IdF.Instance
- All Implemented Interfaces:
App<IdF.Instance.Mu, IdF.Mu>, Applicative<IdF.Mu, IdF.Instance.Mu>, Functor<IdF.Mu, IdF.Instance.Mu>, Kind1<IdF.Mu, IdF.Instance.Mu>, Serializable, Comparable<IdF.Instance>, Constable
public static enum IdF.Instance
extends Enum<IdF.Instance>
implements Functor<IdF.Mu, IdF.Instance.Mu>, Applicative<IdF.Mu, IdF.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 TypeMethodDescriptionlift2(App<IdF.Mu, BiFunction<A, B, R>> function) point(A a) static IdF.InstanceReturns the enum constant of this class with the specified name.static IdF.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, valueOf
-
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
-
point
- Specified by:
pointin interfaceApplicative<IdF.Mu, IdF.Instance.Mu>
-
lift1
-
lift2
public <A,B, BiFunction<App<IdF.Mu,R> A>, App<IdF.Mu, lift2B>, App<IdF.Mu, R>> (App<IdF.Mu, BiFunction<A, B, R>> function) - Specified by:
lift2in interfaceApplicative<IdF.Mu, IdF.Instance.Mu>
-