News

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).
Another feature of Java enums that I did not as immediately recognize, but which has really grown on me as I’ve used SDK-provided enums, is the ability to use Java enums’ method support to ...
JPA and Hibernate enum mapping The Java enum, introduced in Java 5, will map to the underlying database without any intervention. The JPA framework, be it Hibernate or Toplink or DataNucleus, will ...
dumb_enum_warn.c:21: warning: comparison of unsigned expression >= 0 is always true The problem is that I don't know that it's going to signed or unsigned, that's up to the compiler.
Ask Kathleen Use Enums Across Assembly Boundaries 05/01/2007 Get Code Download Technology Toolbox: VB.NET, C# Q. I'm working on a tool to support my internal framework. This tool needs to include a ...
Ask Kathleen Use Enums Across Assembly Boundaries Call a combo box across assembly boundaries with generics and enums; add contact information with Assembly Information; and drill down on FxCop ...