com.atlassian.jira.issue.statistics
Class StatisticGatherer.Mean

java.lang.Object
  extended by com.atlassian.jira.issue.statistics.StatisticGatherer.Mean
All Implemented Interfaces:
StatisticGatherer
Enclosing interface:
StatisticGatherer

public static class StatisticGatherer.Mean
extends Object
implements StatisticGatherer


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.issue.statistics.StatisticGatherer
StatisticGatherer.CountUnique, StatisticGatherer.CountUniqueValue, StatisticGatherer.Mean, StatisticGatherer.MeanValue, StatisticGatherer.Median, StatisticGatherer.MedianValue, StatisticGatherer.Sum
 
Constructor Summary
StatisticGatherer.Mean()
           
 
Method Summary
 Number getValue(Number current, int newValue)
          Returns current value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticGatherer.Mean

public StatisticGatherer.Mean()
Method Detail

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 0
newValue - The value to add to the current
Returns:
The new value - guaranteed not to be null


Copyright © 2002-2013 Atlassian. All Rights Reserved.