public class LongStatistic extends AbstractStatistic
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
value
Statistic value.
|
key| Constructor and Description |
|---|
LongStatistic(java.lang.String key)
Constructor.
|
LongStatistic(java.lang.String key,
long value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatValue()
Get a formatted version of the value, for output.
|
LongStatistic |
increment(long inc)
Increment counter.
|
LongStatistic |
setLong(long value)
Set the statistics.
|
getKey, toStringpublic LongStatistic(java.lang.String key)
key - Keypublic LongStatistic(java.lang.String key,
long value)
key - Keyvalue - Valuepublic LongStatistic setLong(long value)
value - New valuethis for chainingpublic LongStatistic increment(long inc)
inc - Incrementthis for chainingpublic java.lang.String formatValue()
StatisticCopyright © 2019 ELKI Development Team. License information.