Array array = new Array();
array.add( new Long( 5 ) );
array.add( new Long( 4 ) );
array.add( new Long( 3 ) );
array.add( new Long( 2 ) );
array.add( new Long( 1 ) );
Number prod = new Long( 1 );
prod = Counting.accumulate
(
array.start(),
array.finish(),
prod,
new TimesNumber( prod.getClass() )
);
System.out.println( "Product = " + prod );