public class IntegralLongAvgStat extends Stat<IntegralLongAvg>
definition| Constructor and Description |
|---|
IntegralLongAvgStat(StatGroup group,
StatDefinition definition,
long numerator,
long denominator) |
IntegralLongAvgStat(StatGroup group,
StatDefinition definition,
long numerator,
long denominator,
long factor) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Stat<IntegralLongAvg> otherStat)
Add the value of "other" to this stat.
|
void |
clear()
Resets the statistic to its initial state.
|
Stat<IntegralLongAvg> |
computeInterval(Stat<IntegralLongAvg> base)
Compute interval value with respect to the base value.
|
IntegralLongAvgStat |
copy()
Returns a copy of this statistic.
|
IntegralLongAvg |
get()
Returns the value of the statistic.
|
protected String |
getFormattedValue()
Returns the value of the statistic as a formatted string.
|
boolean |
isNotSet()
Returns whether the statistic is in its initial state.
|
void |
negate()
Negate the value.
|
void |
set(IntegralLongAvg newValue)
Set the stat value.
|
copyAndAdd, copyAndClear, getDefinition, toString, toStringVerbosepublic IntegralLongAvgStat(StatGroup group, StatDefinition definition, long numerator, long denominator, long factor)
public IntegralLongAvgStat(StatGroup group, StatDefinition definition, long numerator, long denominator)
public IntegralLongAvg get()
BaseStatget in class BaseStat<IntegralLongAvg>public void set(IntegralLongAvg newValue)
Statset in class Stat<IntegralLongAvg>public void add(Stat<IntegralLongAvg> otherStat)
Statadd in class Stat<IntegralLongAvg>public Stat<IntegralLongAvg> computeInterval(Stat<IntegralLongAvg> base)
StatcomputeInterval in class Stat<IntegralLongAvg>public void negate()
Statnegate in class Stat<IntegralLongAvg>public IntegralLongAvgStat copy()
BaseStatcopy in class Stat<IntegralLongAvg>public void clear()
BaseStatclear in class BaseStat<IntegralLongAvg>protected String getFormattedValue()
BaseStatgetFormattedValue in class BaseStat<IntegralLongAvg>public boolean isNotSet()
BaseStatisNotSet in class BaseStat<IntegralLongAvg>Copyright © 2024. All rights reserved.