Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

WorkList Class Reference

List of all members.

Public Methods

 WorkList ()
void clear ()
void doWork ()
void insert (FGWork work)
boolean isEmpty ()
Iterator iterator ()
FGWork remove ()

Private Attributes

LinkedList list = null

Detailed Description

This class represents the work list algorithm to be used in the flow analysis.

Author:
John Hatcliff , Venkatesh Prasad Ranganath
Version:
Name:
(
Revision:
1.1.1.1
)

Definition at line 52 of file WorkList.java.


Constructor & Destructor Documentation

WorkList::WorkList   [inline]
 

Constructor of the class.

Definition at line 62 of file WorkList.java.


Member Function Documentation

void WorkList::clear   [inline]
 

Empty the work list. Any existing work piece are lost.

Definition at line 70 of file WorkList.java.

Referenced by FA::reset().

void WorkList::doWork   [inline]
 

Executes the work in the work list.

Definition at line 76 of file WorkList.java.

Referenced by FA::run().

void WorkList::insert FGWork   work [inline]
 

Inserts new work into the list.

Parameters:
work   the new work to be added to the list.

Definition at line 90 of file WorkList.java.

boolean WorkList::isEmpty   [inline]
 

Tells whether the work list is empty.

Returns:
true if the worklist is empty, false otherwise.

Definition at line 99 of file WorkList.java.

Iterator WorkList::iterator   [inline]
 

Provides an iterator for the list.

Returns:
an iterator for the list.

Definition at line 108 of file WorkList.java.

FGWork WorkList::remove   [inline]
 

Provides the current work in the list.

Returns:
the current work in the list.

Definition at line 117 of file WorkList.java.


Member Data Documentation

LinkedList WorkList::list = null [private]
 

List of work.

Definition at line 57 of file WorkList.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:23:01 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001