Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
One of my aims is to make the examples portable, which means that they should compile and execute in J2SE 5.0 and J2SE 1.4. At the moment, May 2005, many Java users haven't upgraded to the latest version, and many PCs come with JRE 1.4 preinstalled.
As mentioned in the Preface, the main areas where I lose out because of this portability are in type-safe collections and the nanosecond time method, System.nanoTime(). The Java 3D nanosecond timer is a good replacement for nanoTime(). But what about type-safe collections?