com.continuent.tungsten.common.utils
Class LongStatistic
java.lang.Object
com.continuent.tungsten.common.utils.LongStatistic
- All Implemented Interfaces:
- Statistic<java.lang.Long>
public class LongStatistic
- extends java.lang.Object
- implements Statistic<java.lang.Long>
This class defines a DoubleStatistic
- Version:
- 1.0
- Author:
- Edward Archibald
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LongStatistic
public LongStatistic(java.lang.String label)
decrement
public java.lang.Long decrement()
- Specified by:
decrement in interface Statistic<java.lang.Long>
getAverage
public java.lang.Long getAverage()
- Specified by:
getAverage in interface Statistic<java.lang.Long>
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel in interface Statistic<java.lang.Long>
getValue
public java.lang.Long getValue()
- Specified by:
getValue in interface Statistic<java.lang.Long>
increment
public java.lang.Long increment()
- Specified by:
increment in interface Statistic<java.lang.Long>
setValue
public void setValue(java.lang.Number value)
- Specified by:
setValue in interface Statistic<java.lang.Long>
add
public java.lang.Long add(java.lang.Number value)
- Specified by:
add in interface Statistic<java.lang.Long>
subtract
public java.lang.Long subtract(java.lang.Number value)
- Specified by:
subtract in interface Statistic<java.lang.Long>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
clear
public void clear()
- Specified by:
clear in interface Statistic<java.lang.Long>