Package com.pervasivecode.utils.stats.histogram
-
Interface Summary Interface Description BucketingSystem<T> Common methods for things that put values into a fixed number of adjacent intervals.BucketSelector<T> This object determines which histogram bucket a particular value belongs in.Histogram<T> This is a data structure that holds frequency counts of values for use in a histogram.MutableHistogram<T> This is a mutable version of the Histogram interface, adding a method for counting additional values. -
Class Summary Class Description BucketSelectors BucketSelector factory methods for basic bucketing strategies.ConcurrentHistogram<T> A thread-safe Histogram based on theAtomicLongArray
class.ConsoleHistogramFormatter<T> FormatHistogram
contents for a text display.ConverterBasedBucketSelector<T> A BucketSelector based on aConverter
between upper-bound-values and bucket indices.Histograms Utility methods for working with Histograms.ImmutableHistogram<T> An immutable representation of a Histogram.ImmutableHistogram.Builder<T> An object that can be used to create anImmutableHistogram
.IrregularSetBucketSelector<T> This BucketSelector counts values in buckets that have an irregular set of bucket upper bound values, such as {1, 5, 7}, that are most easily expressed explicitly, rather than by a formula that generates a series of upper bound values.