I'm already having a lot of fun with generics. There's a big chunk of my rather large application that benefits hugely from generics. I was able to condense a bunch of code. I had used template classes in C++ so it wasn't as huge a leap for me as it is for others. I'll take a look at the book. Thanks.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Thorbjoern Ravn Andersen
Sent: Tuesday, July 19, 2011 10:44 AM
To: Java Programming on and around the IBM i
Subject: Re: Incompatible types error from getIndexHash()

Den 19/07/11 01.24, Dan Kimmel skrev:
Nice to know. I've just begun working with Java 6 after working with 1.4 for years and years. New compiler tricks to learn!
I can strongly recommend Effective Java, second edition.

The generics implementation in Java (allowing you to have lists of strings and not just objects) require quite a bit of effort to learn, and Effective Java helps.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.