You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.view.Threader

java.lang.Object
   |
   +----grendel.view.Threader

This arranges a set of messages into a thread hierarchy, by references. The sets of messages are accessed via the IThreadable interface.

See Also: IThreadable, Sorter


class  Threader
     extends java.lang.Object
{
          // Fields 3
     private int bogus_id_count;
     private Hashtable id_table;
     private ThreadContainer root_node;

          // Constructors 1
     public Threader();

          // Methods 5
     private void buildContainer(IThreadable);
     private ThreadContainer findRootSet();
     private void gatherSubjects();
     private void pruneEmptyContainers(ThreadContainer);
     public IThreadable thread(IThreadable);
}



Fields


root_node

   private ThreadContainer root_node


id_table

   private Hashtable id_table


bogus_id_count

   private int bogus_id_count



Constructors


Threader

   public Threader() 

Default constructor




Methods


thread

   public IThreadable thread(IThreadable threadable_root) 

Threads the set of messages indicated by threadable_root. The IThreadable returned is the new first element of the root set.

Parameter Description
threadable_root The start of the list.



buildContainer

   private void buildContainer(IThreadable threadable) 


findRootSet

   private ThreadContainer findRootSet() 


pruneEmptyContainers

   private void pruneEmptyContainers(ThreadContainer parent) 


gatherSubjects

   private void gatherSubjects() 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4