nice features Enum.name() Enum.ordinal() ordninal value Enum class Enum.ordinal() Enum name name Enum.ordinal() Enum class name Enum.ordinal() Enum name Enums name name compareTo compareTo Enum.name() Enum.name() enum jdk enum reference compareTo nice features java.lang.Enum name Enum (Java Platform SE 7 ) java.lang.Enum java.lang.Enum java.lang.Enum nice features java.lang.Enum Enum.ordinal() Enum class Enum enum compareTo nice features name