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() |
get
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 © 2011–2017. All rights reserved.