Package com.atlassian.jira.web.bean
Class StatisticMapWrapper<K,N extends Number>
java.lang.Object
java.util.AbstractMap<K,N>
com.atlassian.jira.web.bean.StatisticMapWrapper<K,N>
- All Implemented Interfaces:
StatisticMap<K,,N> Map<K,N>
@Deprecated(forRemoval=true)
public class StatisticMapWrapper<K,N extends Number>
extends AbstractMap<K,N>
implements StatisticMap<K,N>
Deprecated, for removal: This API element is subject to removal in a future version.
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionStatisticMapWrapper(Map<K, N> statistics, long totalCount, long irrelevantCount) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionentrySet()Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.intgetPercentage(K key) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.Return the total number of issues that were matched.voidsetStatistics(Map<K, N> statistics) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
StatisticMapWrapper
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getStatistics
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getStatisticsin interfaceStatisticMap<K,N extends Number>
-
getPercentages
Deprecated, for removal: This API element is subject to removal in a future version. -
getIrrelevantPercentage
public int getIrrelevantPercentage()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIrrelevantPercentagein interfaceStatisticMap<K,N extends Number>
-
setStatistics
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setStatisticsin interfaceStatisticMap<K,N extends Number>
-
entrySet
Deprecated, for removal: This API element is subject to removal in a future version. -
getTotalCount
public long getTotalCount()Deprecated, for removal: This API element is subject to removal in a future version.Return the total number of issues that were matched.- Specified by:
getTotalCountin interfaceStatisticMap<K,N extends Number> - Returns:
- total number of issues that were matched.
-
getIrrelevantCount
public int getIrrelevantCount()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIrrelevantCountin interfaceStatisticMap<K,N extends Number>
-
getLargestPercentage
public long getLargestPercentage()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLargestPercentagein interfaceStatisticMap<K,N extends Number>
-
getPercentage
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPercentagein interfaceStatisticMap<K,N extends Number>
-
getNullKeyValue
public long getNullKeyValue()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNullKeyValuein interfaceStatisticMap<K,N extends Number>
-
StatisticMapWrapperin the jira-api module.