Prev: Open source licensing being questioned by anti-copyrighttypes
Next: Suggession for your website
From: Ian Smith on 1 Jun 2010 05:41 Rhino wrote: > By the way, WHERE is that documented? The Enum class in the Java API > includes an equal() method and the tutorials I read about enum and the Sun > site don't mention that idiom at all... http://java.sun.com/docs/books/tutorial/java/javaOO/enum.html HTH, Ian.
From: Lew on 1 Jun 2010 07:43 Rhino wrote: >> By the way, WHERE is that documented? The Enum class in the Java API >> includes an equal() method and the tutorials I read about enum and the >> Sun >> site don't mention that idiom at all... Ian Smith wrote: > http://java.sun.com/docs/books/tutorial/java/javaOO/enum.html Interestingly, this link does not address the OP's concern. One wonders why it was offered. -- Lew
From: Rhino on 1 Jun 2010 17:45 "Lew" <noone(a)lewscanon.com> wrote in message news:hu2rp5$9up$1(a)news.albasani.net... > Rhino wrote: >>> By the way, WHERE is that documented? The Enum class in the Java API >>> includes an equal() method and the tutorials I read about enum and the >>> Sun >>> site don't mention that idiom at all... > > Ian Smith wrote: >> http://java.sun.com/docs/books/tutorial/java/javaOO/enum.html > > Interestingly, this link does not address the OP's concern. > > One wonders why it was offered. That's one of the things I read in trying to find my own answer and I didn't see the right operator to use for testing equality there either, which is why I posted in the first place.... -- Rhino
From: Ian Smith on 3 Jun 2010 06:49 Rhino wrote: Yeah, sorry about that, I "remembered" incorrectly . . . I think I actually saw it first in "Java in a Nutshell" - OK as a quick reference but not a great learning book. "Effective Java" is IMO a goldmine. Also "Java Generics & Collections" and "Java Concurrency in Practice". HTH, Ian.
From: Lew on 3 Jun 2010 07:09
Ian Smith wrote: > I think I actually saw it first in "Java in a Nutshell" - OK as a quick > reference but not a great learning book. > > "Effective Java" is IMO a goldmine. Also "Java Generics & Collections" > and "Java Concurrency in Practice". The free chapter of /Effective Java/ (You hear that, Rhino? Free!) <http://java.sun.com/docs/books/effective/toc.html> <http://java.sun.com/docs/books/effective/generics.pdf> is the best explanation of Java generics I've encountered, save perhaps for Brian Goetz's articles on DeveloperWorks, also free. (You hear that, Rhino? Free!) <http://www.ibm.com/developerworks/java> enums: <http://www.ibm.com/developerworks/java/library/j-enums.html> <http://www.ibm.com/developerworks/java/library/j-tiger04195/> Brian Goetz: <http://www.ibm.com/developerworks/search/searchResults.jsp?searchType=1&searchSite=dW&searchScope=javaZ&query=Goetz&Search=Search> <http://www.ibm.com/developerworks/edu/j-dw-java-generics-i.html> <http://www.ibm.com/developerworks/library/j-jtp01255.html> <http://www.ibm.com/developerworks/java/library/j-jtp0618.html> <http://www.ibm.com/developerworks/java/library/j-jtp04223.html> <http://www.ibm.com/developerworks/java/library/j-jtp09275.html> -- Lew |