由于绝大多数枚举可能是简单的枚举(没有价值类体),因此它针对这种情况进行了优化。智能推荐java中的枚举类 java.lang Class Enum<E extends Enum<E>> Constructors Modifier Constructor and Description protected Enum(String name, int ordinal) Sole constructor. All Methods Static......
比较两个枚举成员在定义时的顺序