K
- Key type.V
- Value type.public class OpCountingMap<K,V> extends OpCountingObject implements Map<K,V>
Constructor and Description |
---|
OpCountingMap() |
OpCountingMap(Map<K,V> pDelegate) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object pKey) |
boolean |
containsValue(Object pValue) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object pKey) |
int |
getClearCnt() |
int |
getContainsKeyCnt() |
int |
getContainsValueCnt() |
Map<String,Integer> |
getCounts()
Map from operation name to number of invocations.
|
protected Map<K,V> |
getDelegate() |
int |
getEntrySetCnt() |
int |
getGetCnt() |
int |
getIsEmptyCnt() |
int |
getKeySetCnt() |
int |
getPutAllCnt() |
int |
getPutCnt() |
int |
getRemoveCnt() |
int |
getSizeCnt() |
int |
getValuesCnt() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K pKey,
V pValue) |
void |
putAll(Map<? extends K,? extends V> pMap) |
V |
remove(Object pKey) |
int |
size() |
Collection<V> |
values() |
equals, getEqualsCnt, getHashCodeCnt, getToStringCnt, hashCode, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public int getSizeCnt()
public int getIsEmptyCnt()
public int getContainsKeyCnt()
public int getContainsValueCnt()
public int getGetCnt()
public int getPutCnt()
public int getRemoveCnt()
public int getPutAllCnt()
public int getClearCnt()
public int getKeySetCnt()
public int getValuesCnt()
public int getEntrySetCnt()
protected Map<K,V> getDelegate()
getDelegate
in class OpCountingObject
public boolean containsKey(Object pKey)
containsKey
in interface Map<K,V>
public boolean containsValue(Object pValue)
containsValue
in interface Map<K,V>
public Map<String,Integer> getCounts()
getCounts
in class OpCountingObject
Copyright © 2023. All rights reserved.