You are right. I was being foolish.
Hanson
On 12/30/06, Kenny MacLeod <kennym_at_kizoom.com> wrote:
>
> I may be missing something obvious here, but what's wrong with this:
>
> values()[ordinal];
>
> I think the reason there's no static method for this on enums already is
> that it's that simple.
>