Uses of Enum Class
net.jrodolfo.java_evolution.java05.EnumExamples.Priority
Packages that use EnumExamples.Priority
-
Uses of EnumExamples.Priority in net.jrodolfo.java_evolution.java05
Subclasses with type arguments of type EnumExamples.Priority in net.jrodolfo.java_evolution.java05Modifier and TypeClassDescriptionstatic enumReal enum values can carry fields and methods while remaining a closed set of constants.Methods in net.jrodolfo.java_evolution.java05 that return EnumExamples.PriorityModifier and TypeMethodDescriptionstatic EnumExamples.PriorityReturns the enum constant of this class with the specified name.static EnumExamples.Priority[]EnumExamples.Priority.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.jrodolfo.java_evolution.java05 with parameters of type EnumExamples.PriorityModifier and TypeMethodDescriptionEnumExamples.label(EnumExamples.Priority priority) Returns a display label from enum behavior instead of a parallel switch or map.intEnumExamples.score(EnumExamples.Priority priority) Calculates the numeric score for a ticket priority.