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, values
equals, hashCode, toString
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.