Departing from traditional practice for JavaWorld’s Tips ‘N Tricks column, I will talk about when not to use a previously suggested trick. Specifically, the typesafe enum construct, covered in JDC ...
The long wait was worth it because the Java enum is much more useful and powerful than its C++ counterpart. Although the Java enum can be used with any Java collection, its full power is best ...