FileDocCategorySizeDatePackage
Functions4.javaAPI DocExample603Sat Sep 12 03:01:00 BST 1998None

Functions4

public class Functions4 extends Object

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

    long array[] = { 3, 1, 5, -2, 7, 9 };
    LongArray longArray = new LongArray( array );
    BinaryPredicate comparator = new LessNumber( Long.class );
    System.out.println( "unsorted = " + longArray );
    Sorting.sort( longArray, comparator );
    System.out.println( "sorted = " + longArray );