public class CountHashMap
extends java.util.HashMap<java.lang.String,java.lang.Integer>
| Constructor and Description |
|---|
CountHashMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String key,
int num) |
void |
decr(java.lang.String key) |
int |
get(java.lang.String key) |
void |
incr(java.lang.String key) |
void |
put(java.lang.String key,
int val) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values