Blocks :
|
|
Duplicate :
|
|
Relates :
|
Order of enum values according to the spec: ALLOWED, REJECTED, UNDECIDED Order of enum values that returned by values(): UNDECIDED, ALLOWED, REJECTED Seems this is a specification problem for all enums, because their values are in alphabetic order in the API spec. JCK checks the order of enums according to the following assertion of method values(): "Returns an array containing the constants of this enum type, in the order they are declared." The declared order should be reflected in API spec.
|