Enum Class MushroomCow.Variant
- Enclosing interface:
Represents the variant of a cow - ie its color.
Enum Constant Details
valuespublic static MushroomCow.Variant values()Returns an array containing the constants of this enum class, in the order they are declared.
- an array containing the constants of this enum class, in the order they are declared
valueOfReturns 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.)