Math 176 - Advanced Data Structures
Java Source Code from Sun is Available.
I have placed a complete copy of the Sun source code for the Java class libraries on ieng9 for your convenience. This is being made available by Sun under a research license. Please see the Sun web pages for what constitutes proper use, but you are certainly free to examine the code.
To access the files, look under ../public/JavaSource/src/share/classes/java. For example, the HashSet source is in util/HashSet.java.