com.atlassian.jira.issue.statistics
Interface StatisticGatherer
- All Known Implementing Classes:
- StatisticGatherer.Mean, StatisticGatherer.Median, StatisticGatherer.Sum
public interface StatisticGatherer
A simple way of calculating statistics
- Since:
- v3.11
Method Summary |
java.lang.Number |
getValue(java.lang.Number current,
int newValue)
Returns current value. |
getValue
java.lang.Number getValue(java.lang.Number current,
int newValue)
- Returns current value. If null, the return value will be the 0.
- Parameters:
current
- The current value. If null, the return value will be the equivalent of 0newValue
- The value to add to the current
- Returns:
- The new value - guaranteed not to be null
Copyright © 2002-2011 Atlassian. All Rights Reserved.