The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.view.Threader
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
Copyright © 1998-1999 The Mozilla Organization.
Last modified December 25, 1998.