The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


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 The Mozilla Organization.