T - the type of the statistic valuepublic abstract class BaseStat<T> extends Object implements Serializable
MapStat.| Constructor and Description |
|---|
BaseStat() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clear()
Resets the statistic to its initial state.
|
abstract BaseStat<T> |
copy()
Returns a copy of this statistic.
|
abstract T |
get()
Returns the value of the statistic.
|
protected abstract String |
getFormattedValue()
Returns the value of the statistic as a formatted string.
|
abstract boolean |
isNotSet()
Returns whether the statistic is in its initial state.
|
public abstract T get()
public abstract void clear()
protected abstract String getFormattedValue()
public abstract boolean isNotSet()
Copyright © 2024. All rights reserved.