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.
 
Fields inherited from class ostore.dispatch.TrieNode
fields, priorities, rates, sinks, value_maps
 
Constructor Summary
protected TrieRoot()
          Creates a new TrieRoot with empty superclass and subclasses fields.
 
Method Summary
 Object clone()
          Performs a deeper copy than Object.clone would.
 String toString()
           
 
Methods inherited from class ostore.dispatch.TrieNode
addChild, addSink, collectSinks
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

TrieRoot

protected TrieRoot()
Creates a new TrieRoot with empty superclass and subclasses fields.

Method Detail

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 Fields and SinkIFs referenced by the TrieNodes 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