Package harpoon.Util.Collections

Provides the classes for working with and generating Collections and Graphs of Objects (mostly migrated to the stand-alone JUtil package).

See:
          Description

Interface Summary
Graph<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>> This is a generic Graph implementation.
Graph.Edge<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>> This class represents edges between Nodes in a Graph.
Graph.Node<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>> This class represents nodes in a Graph.
MutableGraph<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>> A MutableGraph is a a Graph which can be modified.
 

Class Summary
AbstractGraph<N extends AbstractGraph.Node<N,E>,E extends Graph.Edge<N,E>> An AbstractGraph provides a basic implementation of the Graph interface.
AbstractGraph.Edge<N extends AbstractGraph.Node<N,E>,E extends AbstractGraph.Edge<N,E>> AbstractGraph.Edge provides a basic implementation of the Graph.Edge interface.
AbstractGraph.Node<N extends AbstractGraph.Node<N,E>,E extends Graph.Edge<N,E>> AbstractGraph.Node provides a basic implementation of the Graph.Node interface.
WorkSet<E> A WorkSet is a Set offering constant-time access to the first/last element inserted, and an iterator whose speed is not dependent on the total capacity of the underlying hashtable.
 

Package harpoon.Util.Collections Description

Provides the classes for working with and generating Collections and Graphs of Objects (mostly migrated to the stand-alone JUtil package).

The purpose of the harpoon.Util.Collections package is to collect together all of our Collections-related classes.

One key portion of the Collections package are the various collection factories, which are designed to allow code to parameterize which type of Collection it will use internally.

Collection-related classes elsewhere in FLEX will eventually be cleaned up, organized, and migrated into this package so that all Collections-related code is kept together.

This package has been spun off into its own library, JUtil, if you want to use it in other work.

Related Documentation

For further information, see:

Author:
C. Scott Ananian (cananian@alumni.princeton.edu), Felix Klock (pnkfelix@mit.edu)