- Enclosing interface:
public static enum MushroomCow.Variant extends Enum<MushroomCow.Variant>
Represents the variant of a cow - ie its color.
Enum Constant Details
public static MushroomCow.Variant values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)