public final class LongMaxMapStat extends MapStat<Long,LongMax>
LongMax values which can be looked
up with a String key, and that returns results as a formatted string.definition| Constructor and Description |
|---|
LongMaxMapStat(StatGroup group,
StatDefinition definition)
Creates an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
LongMaxMapStat |
computeInterval(Stat<String> base)
Ignores base for a non-additive stat.
|
LongMaxMapStat |
copy()
Returns a copy of this statistic.
|
LongMax |
createStat(String key)
Creates, stores, and returns a new stat for the specified key.
|
void |
negate()
Do nothing for this non-additive stat.
|
add, clear, copyAndClear, get, getFormattedValue, getMap, isNotSet, removeStat, setcopyAndAdd, getDefinition, toString, toStringVerbosepublic LongMaxMapStat(StatGroup group, StatDefinition definition)
group - the owning groupdefinition - the associated definitionIllegalArgumentException - if the stat definition type is not
INCREMENTALpublic LongMax createStat(String key)
key - the keypublic LongMaxMapStat copy()
BaseStatpublic LongMaxMapStat computeInterval(Stat<String> base)
computeInterval in class Stat<String>Copyright © 2024. All rights reserved.