- Resource Categories
- imFreeware Home
- Audio & Multimedia
- Business
- Communications
- Desktop
- Development
- Active X
- Basic, VB, VB DotNet
- C / C++ / C#
- Compilers & Interpreters
- Components & Libraries
- Debugging
- Delphi
- Help Tools
- Install & Setup
- Management & Distribution
- Other
- Source Editors
- Education
- Games & Entertainment
- Graphic Apps
- Home & Hobby
- Network & Internet
- Security & Privacy
- Servers
- System Utilities
- Web Development
Version: 1.3
Released: 2011-10-12 23:12:21
Language: English
Platform: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x
File Size: 79KB
Price: $0.00
Download Accumulate 1.3
Released: 2011-10-12 23:12:21
Language: English
Platform: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x
File Size: 79KB
Price: $0.00
Download Accumulate 1.3
Accumulate 1.3 Description
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

![RSS[Development::Other]](http://www.imfreeware.com/images/rss.gif)
