-
Browse by Chapter
-
Browse by Resource
-
More Information
-
Niżo, Hosch:
An Introduction to Programming and Object-Oriented Design Using Java, 2nd Edition
Library packages include:
Two versions of the libraries are currently available. One has been compiled with JDK 1.4.2 using the prototype implementations for JSR14 (Adding Generics to the Java(TM) Programming Language) and JSR201 (Extending the Java(TM) Programming Language with Enumerations, Autoboxing, Enhanced for loops and Static Import). The containers defined in this version do not support "enhanced for loop" iteration.
The second version has been compiled with JDK 1.5.0 beta. Containers in this version implement java.lang.Iterable and support "enhanced for loop" iteration.
The documentation describes the JDK 1.5 version. The only item to note is that the containers.List method iterator() is not available in the JDK 1.4.2 version.