FileDocCategorySizeDatePackage
Overview5.javaAPI DocExample738Sat Sep 12 03:01:00 BST 1998None

Overview5

public class Overview5 extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    Vector vector = new Vector(); // JDK Vector.
    vector.addElement( new Integer( 3 ) );
    vector.addElement( new Integer( -1 ) );
    vector.addElement( new Integer( 2 ) );
    System.out.println( "Unsorted java.util.Vector = " + vector );
    // A VectorArray makes a JDK vector look like a JGL container.
    VectorArray vectorArray = new VectorArray( vector );
    Sorting.sort( vectorArray );
    System.out.println( "Sorted = " + vector );