I know I used an editor a while back that let me dive in to the details of Java source files. My current one does not automatically dive into source files if they are in .jar or .zip formats. SO...question is, where can I go to look at the source of Hashtable ? My thing is, I want to see exactly how it is returning an enumeration of keys, from keys(), since enumeration is an interface...I'd like to see what object is being created which is being returned...so that I can undertsand WHERE the hasMoreElements() is being implemented... If you can answer either question, please reply! Thanks!!!
Joined: Dec 10, 2001
In my installation of Sun's JDK 1.4, I have a file called src.zip in the root directory. Perhaps you have a similar file. If so, just unzip it and take a look.