<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/java/tags/enum</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 09 Jul 2008 04:24:48 GMT</pubDate>
<item>
<title>(Java) Java 5 Enum HIbernate mapping - narkisr</title>
<link>http://snipplr.com/view/5379/java-5-enum-hibernate-mapping/</link>
<description><![CDATA[ <p>This is an example of how to map a Java 5 enum when using Hibernate ORM.</p> ]]></description>
<pubDate>Wed, 12 Mar 2008 12:40:15 GMT</pubDate>
<guid>http://snipplr.com/view/5379/java-5-enum-hibernate-mapping/</guid>
</item>
<item>
<title>(Java) Typesafe Enum pattern - indianocean</title>
<link>http://snipplr.com/view/1655/typesafe-enum-pattern/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 13 Nov 2006 04:16:02 GMT</pubDate>
<guid>http://snipplr.com/view/1655/typesafe-enum-pattern/</guid>
</item>
<item>
<title>(Java) Value-specific class bodies in an enum - cetnar</title>
<link>http://snipplr.com/view/433/valuespecific-class-bodies-in-an-enum/</link>
<description><![CDATA[ <p>In covering the more advanced features of enums, I can't leave out the ability to define value-specific class bodies. That sounds sort of fancy, but all it means is that each enumerated value within a type can define value-specific methods.</p> ]]></description>
<pubDate>Sat, 15 Jul 2006 08:30:08 GMT</pubDate>
<guid>http://snipplr.com/view/433/valuespecific-class-bodies-in-an-enum/</guid>
</item>
<item>
<title>(Java) Maps of Enums - cetnar</title>
<link>http://snipplr.com/view/432/maps-of-enums/</link>
<description><![CDATA[ <p>EnumMap protects you from mis-ordering when initializing values, reordering in the enumerated type, and just about any other strange situation that can arise from more than one person working on code at the same time.</p> ]]></description>
<pubDate>Sat, 15 Jul 2006 08:22:26 GMT</pubDate>
<guid>http://snipplr.com/view/432/maps-of-enums/</guid>
</item>
<item>
<title>(Java) Switching on enums - cetnar</title>
<link>http://snipplr.com/view/431/switching-on-enums/</link>
<description><![CDATA[ <p>- Tiger simply requires that you not preface each enumerated type with the enum class name
- if not handling every enumerated type - warining will be displayed that not all of enum values not being compile time constants</p> ]]></description>
<pubDate>Sat, 15 Jul 2006 03:44:57 GMT</pubDate>
<guid>http://snipplr.com/view/431/switching-on-enums/</guid>
</item>
<item>
<title>(Java) Using Enum - cetnar</title>
<link>http://snipplr.com/view/430/using-enum/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 15 Jul 2006 03:31:27 GMT</pubDate>
<guid>http://snipplr.com/view/430/using-enum/</guid>
</item>
</channel>
</rss>