PROPOSAL: Abstract enums (version 2)

Tim Peierls tim at
Fri May 8 04:34:30 PDT 2009

On Fri, May 8, 2009 at 1:51 AM, Howard Lovatt <howard.lovatt at> wrote:

> Further it would be nice if you could make a singleton by having a enum
> with *no* members.

I don't understand what you mean here. A one element enum makes a great
singleton. (Effective Java 2nd ed., Item 3.)


More information about the coin-dev mailing list