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

Constructor Index

 o AlphaList()
constructor creates itself as a Vector of size 1.

Method Index

 o sort()
Bubble sort the Vector as Strings.

Constructors

 o AlphaList
  public AlphaList()
constructor creates itself as a Vector of size 1.

Methods

 o 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