public static class

StatisticGatherer.CountUnique

extends Object
implements StatisticGatherer
java.lang.Object
   ↳ com.atlassian.jira.issue.statistics.StatisticGatherer.CountUnique

Summary

Public Constructors
StatisticGatherer.CountUnique()
Public Methods
Number getValue(Number current, int newValue)
Returns current value.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.statistics.StatisticGatherer

Public Constructors

public StatisticGatherer.CountUnique ()

Public Methods

public Number getValue (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 0
newValue The value to add to the current
Returns
  • The new value - guaranteed not to be null