Uses of Enum Class
edu.nwmissouri.animalList.AnimalGender
-
Uses of AnimalGender in edu.nwmissouri.animalList
Modifier and TypeFieldDescriptionprotected AnimalGender
Animal.gender
Animals have an associated gender which may be unknown.Modifier and TypeMethodDescriptionAnimal.getGender()
Get the animal gender.static AnimalGender
Returns the enum constant of this class with the specified name.static AnimalGender[]
AnimalGender.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
Animal.setGender
(AnimalGender gender) Set the animal gender using an enum