Generics (JSR 014)

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
Books
  

Articles:
  • Java Generics and Collections: Evolution, Not Revolution, Part 2 by Philip Wadler, Maurice Naftalin   - [Clicks: 12]
    Editor's Note: In last week's excerpt from Chapter 5 of Java Generics and Collections, authors Maurice Naftalin and Philip Wadler considered the situation of having a code-base that doesn't use generics, and how you can migrate to generics without having to cut completely over in one release. They portray the situation with simple examples of "library" and "client" code, and then consider the migration of the library to generics while leaving the client non-genericized. In this second part of the excerpt, they move on to the trickier case: genericizing the client, while leaving the library alone.
    [O'Reilly Book Excerpts: Java Generics and Collections]
    http://www.oreillynet.com/pub/a/excerpt/javagenerics_chap05/index1.html - Nov, 2006
  • Java Generics and Collections: Evolution, Not Revolution, Part 1 by Maurice Naftalin, Philip Wadler   - [Clicks: 21]
    In this excerpt from Java Generics and Collections, authors Maurice Naftalin and Philip Wadler show you how to make the switch to Java 5.0 generics by gradually working generics into your code.
    [O'Reilly Book Excerpts: Java Generics and Collections]
    http://www.onjava.com/pub/a/onjava/excerpt/javagenerics_chap05/index.html - Nov, 2006
  • Typed and Targeted Property Change Events in Java by Garret Wilson   - [Clicks: 16]
    Discover a method for using Java generics when listening for property change events, and for identifying when a change occurred in an object other than the event source.
    http://www.developer.com/java/other/article.php/3621276 - Jul, 2006
  • Classworking toolkit: Analyzing generics data structures by Dennis M. Sosnoski   - [Clicks: 40]
    Java 5 generics encode detailed type information into class files. Many types of tools can benefit from the improved description of data structures provided by comprehensive type information, but getting this information into a useful form can be difficult. To make it easier, series author Dennis Sosnoski builds a data structure analysis program around the ASM Java bytecode manipulation framework that interprets generics information to create an in-depth view of the actual types of data used by an application.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/java/library/j-cwt03286.html - Mar, 2006
  • Java theory and practice: The pseudo-typedef antipattern by Brian Goetz   - [Clicks: 27]
    The addition of generics to the Java language complicated the type system and increased the verbosity of many variable and method declarations. Because no "typedef" facility was provided for defining short names for types, some developers have turned to extension as a "poor man's typedef," with less than good results. In this month's Java theory and practice, Java expert Brian Goetz explains the limitations of this "antipattern."
    http://www-128.ibm.com/developerworks/java/library/j-jtp02216.html - Feb, 2006
  • Classworking toolkit: Generics with ASM by Dennis M. Sosnoski   - [Clicks: 41]
    Java 5 generics provide information that's useful for many classworking applications. Although Java reflection can be used to get generics information for loaded classes, the requirement that classes be loaded into the JVM can be a major drawback. In this article, classworking guru Dennis Sosnoski shows how the ASM Java bytecode manipulation framework offers flexible access to generics information without going through the Java classloading process. Along the way, he looks deeper into the representation of generics in the binary class format.
    [Includes sample code]
    http://www-128.ibm.com/developerworks/java/library/j-cwt02076.html - Feb, 2006

[Top]

Books:
  • Java Generics and Collections  by Maurice Naftalin, Philip Wadler   - [Clicks: 18]
    Java Generics and Collections covers everything from the most basic uses of generics to the strangest corner cases. It teaches you everything you need to know about the collections libraries, so you'll always know which collection is appropriate for any given task, and how to use it.
    O'Reilly Media, Inc., Paperback - Oct, 2006

[Top]