Collections in Java 2 (1.2)
Compared to Smalltalk and Java 1.1

Presentation to JavaBin

Trygve Reenskaug

1999-02-20

Click here to start

Table of Contents

Collections in Java 2 (1.2)

The problem….

The Smalltalk solution Class definition

The Smalltalk solution Adding (and removing) elements

The Smalltalk solution Sorting

The Smalltalk solution Enumeration

Collection Interfaces Java 2 

Collection Classes Java 2 

The Java 2 solution Class definition

The Java 2 solution Adding (and removing) elements

The Java 2 solution Sorting

The Java 2 solution Enumeration with for () {}

The Java 2 solution Enumeration with Iterator

List (ArrayList) Summary

Map (Hashtable) Summary

Conclusion

Author: Trygve Reenskaug 

Email: trygver at ifi.uio.no>

Home Page: http://www.ifi.uio.no/~trygver

Download presentation source