jegg.type
Class TypeTree

java.lang.Object
  extended byjegg.type.TypeTree

public class TypeTree
extends java.lang.Object

This class is used to hold a tree of related types. The root of the tree (usually class Object) is the most common type, and its children are the next least derived types, etc. Classes on different branches are not directly related through inheritance, although they inherit from a common ancestor.


Constructor Summary
TypeTree()
           
 
Method Summary
 Node find(java.lang.Class c)
           
 Node getRoot()
           
 void insert(java.lang.Class c, java.lang.Object cookie)
           
 java.util.Iterator iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeTree

public TypeTree()
Method Detail

find

public Node find(java.lang.Class c)

getRoot

public Node getRoot()

insert

public void insert(java.lang.Class c,
                   java.lang.Object cookie)

iterator

public java.util.Iterator iterator()


Copyright © 2004 . All Rights Reserved.