Example usage for Java com.google.common.util.concurrent AtomicLongMap fields, constructors, methods, implement or subclass
The text is from its open source code.
Map | asMap |
long | addAndGet(K key, long delta) Adds delta to the value currently associated with key , and returns the new value. |
AtomicLongMap | create() Creates an AtomicLongMap . |
AtomicLongMap | create(Map extends K, ? extends Long> m) Creates an AtomicLongMap with the same mappings as the specified Map . |
long | get(K key) Returns the value associated with key , or zero if there is no value associated with key . |
long | incrementAndGet(K key) Increments by one the value currently associated with key , and returns the new value. |
boolean | isEmpty() Returns true if this map contains no key-value mappings. |
long | remove(K key) Removes and returns the value associated with key . |