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

Constructor Index

 o OtherList()
Constructor creates itself as a Vector of size 1.

Method Index

 o sort()
Insertion sort the Vector as Strings.

Constructors

 o OtherList
  public OtherList()
Constructor creates itself as a Vector of size 1.

Methods

 o 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