July 13, 2007
Enterprise Systems: The New Bounce in Suns Step. Dont look now, but Sun Microsystems Inc. has a new bounce in its step.
From its recent...
More »
June 24, 2007
Jazoon'07. Jazoon'07 brings together experts and users of Java and open source technologies from all...
More »
|
 |
Joe Darcy: Mixing-in an Enum
Effective Java discusses two variants of the type-safe enum pattern, one that allows subclassing and one that does not. The enum language construct added in JDK 5 only provides the non-subclassing variant (because supporting subclassing would have confusing interactions with switch statements and other enum features). However, having the enum class implement a mixin interface can restore some of the third-party extensibility of the ...
Date: May 15, 2007
Category: Developers
More »
Others News
|