Enum modernization proposal
assembling.signals at yandex.ru
Fri Sep 18 21:14:48 UTC 2009
(sent again, now with CC to mailing list)
Sorry, you got me wrong.
JDK is using tons of "pseudo enums" such as:
static final int OPAQUE = ...
static final int BITMASK = ...
static final int TRANSLUCENT = ...
Using those is unhandy:
Those int's have no type, have no value validation.
At runtime, they apear as usual integers.
My proposal is an enhancement for legacy APIs.
17.09.09, 01:06, "David M. Lloyd" :
> Java has had "real" enums since Java 5:
> - DML
More information about the core-libs-dev