com.atlassian.jira.issue.statistics
Class StatisticGatherer.Sum
java.lang.Object
com.atlassian.jira.issue.statistics.StatisticGatherer.Sum
- All Implemented Interfaces:
- StatisticGatherer
- Enclosing interface:
- StatisticGatherer
public static class StatisticGatherer.Sum
- extends Object
- implements StatisticGatherer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticGatherer.Sum
public StatisticGatherer.Sum()
getValue
public Number getValue(Number current,
int newValue)
- Description copied from interface:
StatisticGatherer
- Returns current value. If null, the return value will be the 0.
- Specified by:
getValue
in interface StatisticGatherer
- 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-2012 Atlassian. All Rights Reserved.