Package elki.logging.statistics
Class AbstractStatistic
- java.lang.Object
-
- elki.logging.statistics.AbstractStatistic
-
- All Implemented Interfaces:
Statistic
- Direct Known Subclasses:
AtomicLongCounter
,DoubleStatistic
,LongStatistic
,MillisTimeDuration
,NanoDuration
,StringStatistic
,UnsynchronizedLongCounter
public abstract class AbstractStatistic extends java.lang.Object implements Statistic
Abstract base class for statistics tracking.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
key
Key to report the statistic with.
-
Constructor Summary
Constructors Constructor Description AbstractStatistic(java.lang.String key)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
Get the key of this statistic.java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface elki.logging.statistics.Statistic
formatValue
-
-