public class CounterMap<K> extends HashMap<K,Integer>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CounterMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(K key) |
void |
add(K key,
Integer i) |
Integer |
get(Object key) |
List<K> |
getKeysSortedByValue() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringCopyright © 2012-2021 The Apache Software Foundation. All Rights Reserved.