Previous Page TOC Index Next Page Home


B

Class Hierarchy Diagrams

by Charles L. Perkins

The diagrams in this appendix are class hierarchy diagrams for the package java and for all the subpackages recursively below it in the Java beta binary release.

Each page contains the class hierarchy for one package (or a subtree of a particularly large package) with all its interfaces included, and each class in this tree is shown attached to its superclasses, even if they are on another page. A detailed key is located on the first page of this Appendix.


Note: Win32Process and UNIXProcess appear in their respective distributions of Java, but both implement (essentially) the same protocol as their common abstract superclass—Process—so only it was included. This means that are no platform-dependent classes in the diagrams. (Of course, each release actually has some such classes in its .class directories.) Several abstract classes have no subclasses in the documented library, but any concrete implementation of Java would define subclasses of them.

I supplemented the (incomplete) API documentation by looking through all the source files (below src/java) to find all the (missing) package classes and their relationships.

I've heard there are various programs that auto-layout hierarchies for you, but I did these the old-fashioned way (in other words, I earned it, as J.H. used to say). One nice side effect is that these diagrams should be more readable than a computer would produce, though you will have to live with my aesthetic choices (sorry). I chose, for example, to attach lines through the center of each class node, something which I think looks and feels better overall (to me) but which on occasion can be a little confusing. Follow lines through the center of the classes (not at the corners, nor along any line not passing through the center) to connect the dots mentally.

Charles L. Perkins

About These Diagrams

The diagrams in this appendix are class hierarchy diagrams for the package java and for all the subpackages recursively below it in the Java 1.0 binary release.

Each page contains the class hierarchy for one package (or a subtree of a particularly large package) with all its interfaces included, and each class in this tree is shown attached to its superclasses, even if they are on another page. A detailed key is located on the first page of this appendix.

I supplemented the API documentation by looking through all the source files to find all the (missing) package classes and their relationships.

I've heard there are various programs that auto-layout hierarchies for you, but I did these the old-fashioned way (in other words, I earned it, as J.H. used to say). One nice side effect is that these diagrams should be more readable than a computer would produce, though you will have to live with my aesthetic choices. I chose, for example, to attach lines through the center of each class node, something which I think looks and feels better overall but which on occasion can be a little confusing. Follow lines through the center of the classes (not at the corners, nor along any line not passing through the center) to connect the dots mentally.

Previous Page TOC Index Next Page Home