Class chap2.OtherList
All Packages Class Hierarchy This Package Previous Next Index
Class chap2.OtherList
java.lang.Object
|
+----java.util.Vector
|
+----chap2.OtherList
- public class OtherList
- extends Vector
- implements Sortable
A class that implements a sortable vector of Strings.
- See Also:
- Sortable
-
OtherList()
- Constructor creates itself as a Vector of size 1.
-
sort()
- Insertion sort the Vector as Strings.
OtherList
public OtherList()
- Constructor creates itself as a Vector of size 1.
sort
public void sort()
- Insertion 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