tag:blogger.com,1999:blog-5496789096865583573.post4259069049615104956..comments2024-01-25T13:27:50.806+01:00Comments on BangBits: Java Enum relational modellingCasper Banghttp://www.blogger.com/profile/09493174484116672294noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5496789096865583573.post-16538383383564441422011-08-20T12:18:11.592+02:002011-08-20T12:18:11.592+02:00Enum in java is great man and you have indeed cove...Enum in java is great man and you have indeed covered the topic quite well with an interesting example. Enum in Java are great feature and most versatile and very useful under certain scenario. In my opinion following are some of benefits of enum in java :<br />1) Enum is type-safe you can not assign anything else other than predefined enum constant to an enum variable.<br /><br />By the way I have also blogged my experience as <a href="http://javarevisited.blogspot.com/2011/08/enum-in-java-example-tutorial.html" rel="nofollow">10 examples of enum in java</a> , let me know how do you find it.<br /><br />Thanks<br />Javin<br /><a href="http://javarevisited.blogspot.com/2011/02/how-hashmap-works-in-java.html" rel="nofollow">How HashMap works in Java</a>JP@ unix find command examplehttp://javarevisited.blogspot.com/2011/03/10-find-command-in-unix-examples-basic.htmlnoreply@blogger.comtag:blogger.com,1999:blog-5496789096865583573.post-31894924130199847092008-12-14T21:58:00.000+01:002008-12-14T21:58:00.000+01:00Hi Randy,I believe the Eclipse compiler is part of...Hi Randy,<BR/><BR/>I believe the Eclipse compiler is part of JDT (Java Developer Tools). Indeed their compiler feels more human (based on common sense) rather than simply complying with the spec.<BR/><BR/>For instance, it also does far more static analysis, as demonstrated by the impressive list of SuppressWarnings values: http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htmCasper Banghttps://www.blogger.com/profile/09493174484116672294noreply@blogger.comtag:blogger.com,1999:blog-5496789096865583573.post-23364846331579188422008-12-13T20:41:00.000+01:002008-12-13T20:41:00.000+01:00Hi Casper,first of all thank you very much for the...Hi Casper,<BR/><BR/>first of all thank you very much for the effort of stating the problem exactly and offering several approaches for workarounds.<BR/><BR/>When you are referring to "the Eclipse compiler": Doesn't Eclipse use the configured JDK under the hoods? I was not aware that it has a compiler of its own.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5496789096865583573.post-44654087616922917532008-12-08T19:53:00.000+01:002008-12-08T19:53:00.000+01:00You may want to check out http://sourceforge.net/p...You may want to check out http://sourceforge.net/projects/jfsm/ for type safe transitions. There is no documentation, but there are simple demo programs using the library.Ozgur Oktayhttps://www.blogger.com/profile/11015665795908371849noreply@blogger.com