java.util.Map<T,java.lang.Long>public class Counter<T>
extends com.google.common.collect.ForwardingMap<T,java.lang.Long>
| Constructor | Description |
|---|---|
Counter() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
decrement(T key) |
|
long |
decrement(T key,
long amount) |
|
protected java.util.Map<T,java.lang.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, valuesCopyright © 2018. All rights reserved.