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.