Package com.helger.commons.statistics
Class StatisticsHandlerSize
java.lang.Object
com.helger.commons.statistics.AbstractStatisticsHandlerNumeric
com.helger.commons.statistics.StatisticsHandlerSize
- All Implemented Interfaces:
IMutableStatisticsHandlerSize,IStatisticsHandler,IStatisticsHandlerNumeric,IStatisticsHandlerSize
@ThreadSafe
public class StatisticsHandlerSize
extends AbstractStatisticsHandlerNumeric
implements IMutableStatisticsHandlerSize
Default implementation of
IMutableStatisticsHandlerSize- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.helger.commons.statistics.AbstractStatisticsHandlerNumeric
addValue, getAverage, 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.IStatisticsHandlerNumeric
getAverage, getMax, getMin, getSum
-
Constructor Details
-
StatisticsHandlerSize
public StatisticsHandlerSize()
-
-
Method Details
-
addSize
Description copied from interface:IMutableStatisticsHandlerSizeAdd a new size- Specified by:
addSizein interfaceIMutableStatisticsHandlerSize- Parameters:
nSize- The size to be added. Must be ≥ 0 as sizes cannot be negative.
-