Description of Accumulate
|
Used to accumulate values by category. It might be useful
for example in a billing program to accumulate hours by
various categories.
It could be used to count how many times various words
occurred in a document.
All you need is:
buckets.accumulate( "somecategory", someamount );
And Accumulate looks after creating the buckets to
accumulate new categories for you.
e.g.
Accumulate buckets = new Accumulate( 20 );
buckets.accumulate( "ugli fruit", 3 );
buckets.accumulate( "peaches", 10 );
buckets.accumulate( "strawberries", 15 );
buckets.accumulate( "peaches", 14 );
String[] categories = buckets.categories();
// prints:
// peaches:24
// strawberries:15
// ugli fruit:3
for (String category: categories )
{
System.out.println( category:
+ ":"
+ buckets.total( category ));
}
You can test the app with:
java.exe com.mindprod.accumulate.Accumulate |
|
|
| Developer: |
|
Canadian Mind Products
|
| Category: |
|
Development
|
| Subcategory: |
|
Other
|
| Price: |
|
Free
|
License: |
|
Freeware
|
| Size: |
|
0.51 MB
|
Released: |
|
2008-01-01
|
| OS Support: |
|
|
Windows
(2003, 2000, XP, NT4, NT3, ME, 98)
, Windows Vista
(Ultimate x64, Enterprise x64, Business x64, Home Premium x64, Home Basic x64, Ultimate, Enterprise, Business, Home Premium, Home Basic, Starter)
|
|
Linux
(GPL, Gnome, Console, General)
|
|
Mac
Mac OS
(X)
|
|
Other
AS/400
, Java
, OS/2
(Warp 4, Warp)
, Unix
|
|
| Languages: |
|
English
|
|
|
|
| Related Downloads |
|
novaPDF SDK
|
|
Easily integrate PDF creation support in your application using novaPDF SDK.
|
|
novaPDF Pro
|
|
novaPDF Pro allows you to easily create PDF files from any printable document.
|
|
novaPDF Server Lite
|
|
novaPDF Server Lite allows you to create PDF files from any printable document.
|
|
novaPDF Server Pro
|
|
novaPDF Server Pro allows you to create PDF files from any printable document.
|
|
|
|
|
|
|
| Version 1.2 - Posted on 2008-01-01 - add icon and pad file |
|
|
More»
|
|
|
|
|
|
Company: Canadian Mind Products,
Country : Canada
|
| Products(1): Accumulate, AmericanTax, Amper, Base64, Batik, Biorhythms Calculator, BOOTSave, Borders, Boyer, Bulk... |
|
More»
|
|
|
|
|