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 ...
More than once, I have seen code such as the following (without the comments I have added to point out flaws), in which a well-intentioned Java developer has ensured that their favorite Enum ...
Community driven content discussing all aspects of software development from DevOps to design patterns. The Java enum, introduced in Java 5, will map to the underlying database without any ...