sponsored links
Accumulate
Categories are used to accumulate values.
Description
"Used to accumulate values category."
indir.biz Editor: Categories are used to accumulate values. A useful
For example, a bill by the hour program accumulates
various categories.
Can be used to count how many times various words
document has occurred.
All you need is:
Buckets.accumulate ( "somecategory",) someamount;
And Accumulate
Buckets for you after you create a new category seems to accumulate.
example
Buckets = new Accumulate Accumulate (20);
, 3) ( "Ugli fruit" buckets.accumulate;
, 10 ( "peach" buckets.accumulate);
( "Strawberry" buckets.accumulate, 15);
buckets.,) 14 ( "peach" is deposited;
String [] categories = buckets.categories ();
/ / Print:
/ / Peach: 24
/ / Strawberry: 15
/ / Ugli fruit: (String category: categories)
(For 3 System.out.println
(category:
+ ":"
+ Buckets.total (category ));}< br> You can test app:
JAVA.EXE com.mindprod.accumulate.Accumulate. Now you can download free 1.2 Accumulate.
sponsored links
Visitor rates
10 Star
28
Member rates
10 Star
28
Ortalama oy:
3,8