Is it good practice to use ordinal of enum?
Is it bad practice to use an Enum's ordinal value to index an array in Java?
Is this a good case where I should use Java Enum? Setting Ordinal Enum values to start from 1 instead of 0 How to Remove Ordinal Values from Date in Java Can I specify ordinal for enum in Java? Is it good practice to use java.lang.String.intern()? Java Enum property best practice Enum's toString method and Java good practice How to use enum? Is there a way to get the enum type from and ordinal value? use of ordinal inside Java Enum definition enum ordinal with a string? Access the .values() and .ordinal() method of arbitrary enum? Convert from enum ordinal to enum type How could I change java.lang.Enum's ordinal when using JPA and Spring? How do I select a specific enum.ordinal() using another enum? Good practice to instantiate classes from an enum value Getting enum value by passing preset ordinal JPA Enum ORDINAL vs STRING Using Enum's ordinal value in switch-case statement Does position in array enumConstants from Class, correspondes to ordinal value of enum? Enum with no ordinal key in a many-to-many relationship Highest ordinal enum value Swift equivalent of Enum.ordinal() in Java How to cast an enum ordinal as a String? Best practice to look up Java Enum How to I map an enum ordinal to it's value in hibernate? Get enum value from enum type and ordinal Java enum best practice Is there a way in Java to convert an integer to its ordinal?