Java Generics and Collections by Maurice Naftalin Maurice, Philip Wadler

Java Generics and Collections



Download eBook




Java Generics and Collections Maurice Naftalin Maurice, Philip Wadler ebook
Format: chm
ISBN: 0596527756, 9780596527754
Publisher: O'Reilly Media
Page: 288


Generics are possibly the most talked about feature of Java 5 and Collections is the most powerful API. You can use Generics like those shown in the following example. It builds ArrayDescriptor arrayDescriptor = new ArrayDescriptor("STRINGLIST",conn); // Translate the Java String{} to the Oracle SQL collection type. Generics is one of those more complicated language features in Java that is not well understood by many programmers. In this excerpt from Java Generics and Collections, authors Maurice Naftalin and Philip Wadler show what to do when genericizing client code that calls a non-genericized library. I really wish Java had either: Reified generics or; Closures. In the interim, I offer the following Java code to the world. I read this book twice, and I suggest every java developer two read it twice or more. Some time ago I passed SCJP before this exam I thought that I know Generics but I didn't. Overriding hashCode() and equals(). Many avoid it interface Collection { public boolean addAll(Collection

Principles of Auditing: An Introduction to International Standards on Auditing (2nd Edition) book