FileDocCategorySizeDatePackage
Functions2.javaAPI DocExample579Sat Sep 12 03:01:00 BST 1998None

Functions2

public class Functions2 extends Object

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

    boolean array[] = { false, false, true, false, true };
    BooleanArray bools = new BooleanArray( array );
    UnaryPredicate predicate = new LogicalNot();
    int n = Counting.countIf( bools, predicate );
    System.out.println( "Number of false in " + bools + " = " + n );