users@jaxb.java.net

Re: Enum Plugin ?

From: Hanson Char <hanson.char_at_gmail.com>
Date: Sat, 30 Dec 2006 21:12:00 -0800

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.
>