public interface StatisticGatherer
Modifier and Type | Interface and Description |
---|---|
static class |
StatisticGatherer.CountUnique |
static class |
StatisticGatherer.CountUniqueValue |
static class |
StatisticGatherer.Mean |
static class |
StatisticGatherer.MeanValue
Using some trickiness - we extend Number so that we can call
StatisticGatherer.MeanValue.intValue() without having
to change all the client code |
static class |
StatisticGatherer.Median |
static class |
StatisticGatherer.MedianValue |
static class |
StatisticGatherer.Sum |
Modifier and Type | Method and Description |
---|---|
Number |
getValue(Number current,
int newValue)
Returns current value.
|
Number getValue(Number current, int newValue)
current
- The current value. If null, the return value will be the equivalent of 0newValue
- The value to add to the currentCopyright © 2002-2015 Atlassian. All Rights Reserved.