public class CountingMap<K> extends DefaultingHashMap<K,AtomicLong>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CountingMap() |
| Modifier and Type | Method and Description |
|---|---|
long |
add(K key,
long value) |
Map<K,Long> |
snapshot() |
getclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringCopyright © 2011–2017. All rights reserved.