- <init>
Constructor allowing values Comparator to be specified.
- addValue
Adds 1 to the frequency count for v. If other objects have already been added to
this Frequency, v m
- getCount
Returns the number of values equal to v. Returns 0 if the value is not
comparable.
- getCumPct
Returns the cumulative percentage of values less than or equal to v (as a
proportion between 0 and 1
- valuesIterator
Returns an Iterator over the set of values that have been added. If added values
are integral (i.e.,
- getCumFreq
Returns the cumulative frequency of values less than or equal to v. Returns 0 if
v is not comparable
- getSumFreq
Returns the sum of all frequencies.
- entrySetIterator
Return an Iterator over the set of keys and values that have been added. Using
the entry set to iter
- getPct
Returns the percentage of values that are equal to v (as a proportion between 0
and 1). Returns Doub
- getUniqueCount
Returns the number of values in the frequency table.
- getMode
Returns the mode value(s) in comparator order.
- incrementValue
Increments the frequency count for v. If other objects have already been added
to this Frequency, v