The Wayback Machine - https://web.archive.org/web/20190422033539/http://www.dynamicobjects.com:80/d2r/archives/003177.html
Now blogging at diego's weblog. See you over there!

subclassing enums in Java 5


[via Erik]: Beyond the basics of enumerated types: how to use more than simple enums with subclassing and method overrides. Very interesting. While my favorite Java 5 change is the enhanced for loop, generics (i.e. templates) and enums are a close second.

Categories: soft.dev
Posted by diego on May 3 2005 at 12:04 PM

Copyright © Diego Doval 2002-2011.
Powered by
Movable Type 4.37
Morty Proxy This is a proxified and sanitized view of the page, visit original site.