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