Saturday, October 29, 2005

Creating Custom Generic Collections with J2SE 5.0

Creating Custom Generic Collections with J2SE 5.0: "Creating Custom Generic Collections with J2SE 5.0
J2SE 5.0 introduced many additions to the collections API that you need to be aware of to properly implement generic custom collections that work seamlessly with multiple types and the new 'for each' construct.

by Jeff Heaton October 18, 2005

My last article discussed how to use J2SE 5.0's new collection features, allowing you to designate a specific type to be used with a collection. Additionally, the new 'for each' construct lets you access collections without the need for an 'iterator'. However, that was only half the story. This article shows you how to create collections that are compatible with the latest features of J2SE."

No comments: