Class chap2.AlphaList
All Packages Class Hierarchy This Package Previous Next Index
Class chap2.AlphaList
java.lang.Object
|
+----java.util.Vector
|
+----chap2.AlphaList
- public class AlphaList
- extends Vector
- implements Sortable
A class that implements a sortable vector of Strings.
- See Also:
- Sortable
-
AlphaList()
- constructor creates itself as a Vector of size 1.
-
sort()
- Bubble sort the Vector as Strings.
AlphaList
public AlphaList()
- constructor creates itself as a Vector of size 1.
sort
public void sort()
- Bubble sort the Vector as Strings. If they aren't strings, this'll
crash with an illegal cast exception.
All Packages Class Hierarchy This Package Previous Next Index