public class Counter<T> extends ForwardingMap<T,Long>
ForwardingMap.StandardEntrySet, ForwardingMap.StandardKeySet, ForwardingMap.StandardValues| Constructor | Description | 
|---|---|
| Counter() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| long | decrement(T key) | |
| long | decrement(T key,
         long amount) | |
| protected Map<T,Long> | delegate() | |
| long | getCount(T key) | |
| long | increment(T key) | |
| long | increment(T key,
         long amount) | 
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuestoStringcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllCopyright © 2020. All rights reserved.