FileDocCategorySizeDatePackage
Functions8.javaAPI DocExample616Sat Sep 12 03:01:00 BST 1998None

Functions8

public class Functions8 extends Object

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

    double array[] = { 3, 1, 5, -2, 7, 9 };
    DoubleArray doubleArray = new DoubleArray( array );
    BinaryPredicate comparator = new LessNumber( Double.class );
    System.out.println( "unsorted = " + doubleArray );

    Sorting.sort( doubleArray, comparator );
    System.out.println( "sorted = " + doubleArray );