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

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

public static class StatisticGatherer.Median
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.Median()
           
 
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.Median

public StatisticGatherer.Median()
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-2014 Atlassian. All Rights Reserved.