wt.tools.xref
Class SortEnumerationOfSpecs

java.lang.Object
  extended bywt.tools.xref.SortEnumerationOfSpecs

public class SortEnumerationOfSpecs
extends Object

This class provides a simple way to sort an enumeration of Spec objects and return this set of Spec objects in a sorted array. NOTE: I discovered that this quickSort() algorithm DOES NOT tolerate duplicates in the list!!! cwm - 1-25-2000


Field Summary
private  SortedSpecVector d_sortedVector
           
 
Constructor Summary
SortEnumerationOfSpecs()
          This constructor is used to initialize this Sort instance.
 
Method Summary
 Enumeration sort(Enumeration e)
          After instantiating this class, you then call the sort() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

d_sortedVector

private SortedSpecVector d_sortedVector
Constructor Detail

SortEnumerationOfSpecs

public SortEnumerationOfSpecs()
This constructor is used to initialize this Sort instance.

Method Detail

sort

public Enumeration sort(Enumeration e)
After instantiating this class, you then call the sort() method.