ostore.dispatch
Class TrieRoot
java.lang.Object
|
+--ostore.dispatch.TrieNode
|
+--ostore.dispatch.TrieRoot
- public class TrieRoot
- extends TrieNode
The root of a Classifier
trie.
Each trie corresponds to a single event type. The TrieRoot
contains links to the Class
objects for the neighbors of
this trie's type in the class hierarchy.
- Version:
- $Id: TrieRoot.java,v 1.5 2002/02/09 01:22:45 srhea Exp $
- Author:
- Dennis Geels
Field Summary |
protected Vector |
subclasses
The children of this node's type in the event class hierarchy. |
protected Class |
superclass
The parent of this node's type in the event class hierarchy. |
Constructor Summary |
protected |
TrieRoot()
Creates a new TrieRoot with empty
superclass and subclasses fields. |
superclass
protected Class superclass
- The parent of this node's type in the event class hierarchy.
subclasses
protected Vector subclasses
- The children of this node's type in the event class hierarchy.
TrieRoot
protected TrieRoot()
- Creates a new
TrieRoot
with empty
superclass
and subclasses
fields.
clone
public Object clone()
- Performs a deeper copy than
Object.clone
would.
The entire trie is cloned, and may be modified independently of the
original. The Field
s and SinkIF
s
referenced by the TrieNode
s are not cloned.
- Overrides:
clone
in class TrieNode
- Returns:
- A new
TrieRoot
with cloned
internal data structures.
toString
public String toString()
- Overrides:
toString
in class TrieNode