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
Summary
[Expand]
Inherited Methods |
From class
java.util.AbstractMap
void
|
clear()
|
Object
|
clone()
|
boolean
|
containsKey(Object arg0)
|
boolean
|
containsValue(Object arg0)
|
abstract
Set<Entry<K, V>>
|
entrySet()
|
boolean
|
equals(Object arg0)
|
V
|
get(Object arg0)
|
int
|
hashCode()
|
boolean
|
isEmpty()
|
Set<K>
|
keySet()
|
V
|
put(K arg0, V arg1)
|
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
V
|
remove(Object arg0)
|
int
|
size()
|
String
|
toString()
|
Collection<V>
|
values()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.jira.web.bean.StatisticMap
|
From interface
java.util.Map
void
|
clear()
|
V
|
compute(K arg0, BiFunction<? super K, ? super V, ? extends V> arg1)
|
V
|
computeIfAbsent(K arg0, Function<? super K, ? extends V> arg1)
|
V
|
computeIfPresent(K arg0, BiFunction<? super K, ? super V, ? extends V> arg1)
|
boolean
|
containsKey(Object arg0)
|
boolean
|
containsValue(Object arg0)
|
Set<Entry<K, V>>
|
entrySet()
|
boolean
|
equals(Object arg0)
|
void
|
forEach(BiConsumer<? super K, ? super V> arg0)
|
V
|
get(Object arg0)
|
V
|
getOrDefault(Object arg0, V arg1)
|
int
|
hashCode()
|
boolean
|
isEmpty()
|
Set<K>
|
keySet()
|
V
|
merge(K arg0, V arg1, BiFunction<? super V, ? super V, ? extends V> arg2)
|
V
|
put(K arg0, V arg1)
|
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
V
|
putIfAbsent(K arg0, V arg1)
|
boolean
|
remove(Object arg0, Object arg1)
|
V
|
remove(Object arg0)
|
boolean
|
replace(K arg0, V arg1, V arg2)
|
V
|
replace(K arg0, V arg1)
|
void
|
replaceAll(BiFunction<? super K, ? super V, ? extends V> arg0)
|
int
|
size()
|
Collection<V>
|
values()
|
|
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
()