Package com.helger.commons.statistics
Class StatisticsHandlerKeyedSize
java.lang.Object
com.helger.commons.statistics.AbstractStatisticsHandlerKeyedNumeric
com.helger.commons.statistics.StatisticsHandlerKeyedSize
- All Implemented Interfaces:
IMutableStatisticsHandlerKeyedSize,IStatisticsHandler,IStatisticsHandlerKeyed,IStatisticsHandlerKeyedNumeric,IStatisticsHandlerKeyedSize
@ThreadSafe
public class StatisticsHandlerKeyedSize
extends AbstractStatisticsHandlerKeyedNumeric
implements IMutableStatisticsHandlerKeyedSize
Default implementation of
IMutableStatisticsHandlerKeyedSize- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.helger.commons.statistics.AbstractStatisticsHandlerKeyedNumeric
addValue, getAllKeys, getAverage, getInvocationCount, getInvocationCount, getMax, getMin, getSumMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.helger.commons.statistics.IStatisticsHandler
getInvocationCountMethods inherited from interface com.helger.commons.statistics.IStatisticsHandlerKeyed
getAllKeys, getInvocationCountMethods inherited from interface com.helger.commons.statistics.IStatisticsHandlerKeyedNumeric
getAverage, getMax, getMin, getSum
-
Constructor Details
-
StatisticsHandlerKeyedSize
public StatisticsHandlerKeyedSize()
-
-
Method Details
-
addSize
Description copied from interface:IMutableStatisticsHandlerKeyedSizeAdd a new size- Specified by:
addSizein interfaceIMutableStatisticsHandlerKeyedSize- Parameters:
sKey- The key to be incremented.nSize- The size to be added. Must be ≥ 0 as sizes cannot be negative.
-