Class Overview
This is used to store the statistics retrieved by the StatisticAccessorBean. Formerly an inner class in
StatisticAccessorBean. Should be moved out as it is accessed by tests Since stats are accessed through this object,
it should be made public to allow other classes access to stats generated by the stat bean
Public Constructors
public
StatisticMapWrapper
(Map<K, N> statistics, long totalCount, long irrelevantCount)
Public Methods
public
int
getIrrelevantCount
()
public
int
getIrrelevantPercentage
()
public
long
getLargestPercentage
()
public
long
getNullKeyValue
()
public
int
getPercentage
(K key)
public
Map<K, N>
getStatistics
()
public
long
getTotalCount
()
Return the total number of issues that were matched.
Returns
- total number of issues that were matched.
public
void
setStatistics
(Map<K, N> statistics)
Protected Methods
protected
Map<K, Long>
getPercentages
()