Interface MutableHistogram<T>
-
- Type Parameters:
T
- The type of value that is being counted.
- All Superinterfaces:
BucketingSystem<T>
,Histogram<T>
- All Known Implementing Classes:
ConcurrentHistogram
public interface MutableHistogram<T> extends Histogram<T>
This is a mutable version of the Histogram interface, adding a method for counting additional values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
countValue(T value)
Count the specified value by assigning it to a bucket and incrementing the stored count of values that belong to that bucket.-
Methods inherited from interface com.pervasivecode.utils.stats.histogram.BucketingSystem
bucketUpperBound, numBuckets
-
Methods inherited from interface com.pervasivecode.utils.stats.histogram.Histogram
countInBucket
-
-
-
-
Method Detail
-
countValue
void countValue(T value)
Count the specified value by assigning it to a bucket and incrementing the stored count of values that belong to that bucket.- Parameters:
value
- The value to count. This must not be null.
-
-