Java com.google.common.util.concurrent AtomicLongMap fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.util.concurrent AtomicLongMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.util.concurrent AtomicLongMap.

The text is from its open source code.

Field

Method

longaddAndGet(K key, long delta)
Adds delta to the value currently associated with key , and returns the new value.
AtomicLongMapcreate()
Creates an AtomicLongMap .
AtomicLongMapcreate(Map m)
Creates an AtomicLongMap with the same mappings as the specified Map .
longget(K key)
Returns the value associated with key , or zero if there is no value associated with key .
longincrementAndGet(K key)
Increments by one the value currently associated with key , and returns the new value.
booleanisEmpty()
Returns true if this map contains no key-value mappings.
longremove(K key)
Removes and returns the value associated with key .