News
Most of us who transitioned from C++ to Java missed having an enum in versions of Java prior to J2SE 5. Fortunately, the wait was worth it as the Java enum is far superior to the C++ enum.
Ashutosh ‘s post Comparing Java Enums concludes that “using == over .equals () is more advantageous in two ways” (avoiding the NPE and getting the static compile-time check).
Some results have been hidden because they may be inaccessible to you
Show inaccessible results