public static enum Witness.coproduct extends java.lang.Enum<Witness.coproduct> implements WitnessType<Witness.coproduct>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
FunctionalAdapter<Witness.coproduct> |
adapter() |
static Witness.coproduct |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Witness.coproduct[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Witness.coproduct INSTANCE
public static Witness.coproduct[] values()
for (Witness.coproduct c : Witness.coproduct.values()) System.out.println(c);
public static Witness.coproduct 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.coproduct> adapter()
adapter in interface WitnessType<Witness.coproduct>