public static enum Witness.maybe extends java.lang.Enum<Witness.maybe> implements Witness.MonadicValueWitness<Witness.maybe>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
FunctionalAdapter<Witness.maybe> |
adapter() |
static Witness.maybe |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Witness.maybe[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Witness.maybe INSTANCE
public static Witness.maybe[] values()
for (Witness.maybe c : Witness.maybe.values()) System.out.println(c);
public static Witness.maybe valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic FunctionalAdapter<Witness.maybe> adapter()
adapter
in interface WitnessType<Witness.maybe>