wt.tools.xref
Class SortEnumerationOfSpecs
java.lang.Object
wt.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
d_sortedVector
private SortedSpecVector d_sortedVector
SortEnumerationOfSpecs
public SortEnumerationOfSpecs()
- This constructor is used to initialize this Sort instance.
sort
public Enumeration sort(Enumeration e)
- After instantiating this class, you then call the sort() method.