public class LongMax extends MapStatComponent<Long,LongMax>
| Constructor and Description |
|---|
LongMax() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long value) |
void |
add(LongMax other) |
void |
clear()
Resets the statistic to its initial state.
|
LongMax |
copy()
Narrow the return type to the component type.
|
Long |
get()
Returns the value of the statistic.
|
protected String |
getFormattedValue(boolean useCommas)
Returns the value of the statistic as a formatted string, either using
or not using commas as requested.
|
boolean |
isNotSet()
Returns whether the statistic is in its initial state.
|
String |
toString() |
getFormattedValuepublic void add(long value)
public void add(LongMax other)
protected String getFormattedValue(boolean useCommas)
MapStatComponentgetFormattedValue in class MapStatComponent<Long,LongMax>useCommas - whether to use commaspublic LongMax copy()
MapStatComponentcopy in class MapStatComponent<Long,LongMax>public void clear()
BaseStatpublic boolean isNotSet()
BaseStatCopyright © 2024. All rights reserved.