Rating
Rating: 0.0 out of 0 votes
Categories
Accumulate 1.3 Description
-
Used to accumulate values by category.
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
Accumulate 1.3
- License: Freeware $0.00
- OS:Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x
- Last Updated: 2011-05-28 16:31:47
- Requirements: Java 1.2+
- Publisher:Canadian Mind Products
- Homepage: http://mindprod.com
- Converter 5.5
how to interconvert any of the java primitives. conversion amanuensis..
- Common11 2.8
common utility classes that work under java 1.1+.
- Http 2.9
http get/post/head/probe/chase java class library for http: or https:.
- CSV 6.5
java to read, write, align, sort, reshape, pack... comma, tab-separated files..
- Confirm 1.3
ask user to confirm an action in a bat file before continuing..
- Base64 1.9
Java classes to encode/decode Base64 and Base64u.
- Common15 1.7
common utility classes that work under swing java 1.5+.
- Batik 2.2
Java to let you create a custom utility to find and delete all junk files..
- Password 1.8
generates random passwords that are hard to guess..
- Bulk Emailer 1.7
The bulk emailer program sends the same email to many people..
- Common13 1.3
common utility classes that work under Swing Java 1.3+ .
- BraceBalancer 1.3
bracebalancer helps find unbalanced {} [] or () in java, css, c, c++ etc source..
- Restore 6.4
Restore old MSDOS or PCDOS floppy backups.
- BackupToZip 1.4
BackupToZip is a simple backup program that mainatins a compressed mirror..
- Submitter 16.9
submitter will submit your pad *.xml program descriptor file to 196 padsites..
- HtmlMacros 2.3
a framework for static html macros in java to generate elaborate boilerplate..
- LEDataStream 1.8
Little-endian replacements for DataInputStream, DataOutputStream and RandomAcces.
- ISBN 2.5
tidies, interconverts and validates isbn-10 and isbn-13 book numbers..
- CanadianTax 4.2
calculates canadian sales taxes: gst hst and pst today or in the past..
- KeyPlayer 1.5
Java Keystroke and Mouse Event Tutor / Keyboard Diagnostic..