com.atlassian.jira.issue.statistics.StatisticGatherer |
![]() |
A simple way of calculating statistics
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
StatisticGatherer.CountUnique | |||||||||||
StatisticGatherer.CountUniqueValue | |||||||||||
StatisticGatherer.Mean | |||||||||||
StatisticGatherer.MeanValue | Using some trickiness - we extend Number so that we can call intValue() without having
to change all the client code
|
||||||||||
StatisticGatherer.Median | |||||||||||
StatisticGatherer.MedianValue | |||||||||||
StatisticGatherer.Sum |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns current value.
|
Returns current value. If null, the return value will be the 0.
current | The current value. If null, the return value will be the equivalent of 0 |
---|---|
newValue | The value to add to the current |