Java

Java Collections API Change Summary

We received hundreds of excellent suggestions concerning previous releases of the collections API. Suggestions came from companies, universities, and individuals all around the world. We're truly thankful for these suggestions, and we've incorporated many of them. This page summarizes the differences between the Beta3 and Beta4 releases, along with a brief rationale for each change.

The changes are modest compared to previous Beta releases. The biggest news is that the "subList" functionality has been "promoted" from the Collections class into the List interface. Also, we've added a few more polymorphic algorithms to the Collections class, and a special-purpose implementation of the Map interface that stores only weak references to its keys.

Core Collection Interfaces - List

Core Collection Interfaces - Map

Concrete Implementations

Algorithms and Convenience Implementations

Array Operations


Copyright © 1995-98 Sun Microsystems, Inc. All Rights Reserved.



Please send comments to: collections-comments@java.sun.com
Sun
Java Software