+ Strings, integers, longs, chars are all supported as value types, as well as instances
+ of any class that implements Comparable. The ordering of values
+ used in computing cumulative frequencies is by default the natural ordering,
+ but this can be overriden by supplying a Comparator to the constructor.
+ Adding values that are not comparable to those that have already been added results in an
+ IllegalArgumentException.
+
+
+ Here are some examples.
+
+
Compute a frequency distribution based on integer values
+
+
Mixing integers, longs, Integers and Longs:
+
+
+
Count string frequencies
+
+
Using case-sensitive comparison, alpha sort order (natural comparator):
+
+
+
Using case-insensitive comparator:
+
+
+
+
This is yet to be written. Any contributions will be gratefully