public final class ReferenceCountMap extends Long2IntOpenHashMap
containsNullKey, defRetValue, FILL_FACTOR, INITIAL_ELEMENT_COUNT, key, mask, maxFill, minN, n, size, value| Constructor and Description |
|---|
ReferenceCountMap() |
| Modifier and Type | Method and Description |
|---|---|
int |
decrementAndGet(Object key)
Decrements the reference count of an object by 1 and returns the updated reference count
|
int |
incrementAndGet(Object key)
Increments the reference count of an object by 1 and returns the updated reference count
|
long |
sizeOf()
Returns the size of this map in bytes.
|
addTo, get, getDefaultReturnValue, mix, rehash, remove, setDefaultReturnValue, shiftKeys, sizepublic int incrementAndGet(Object key)
public int decrementAndGet(Object key)
public long sizeOf()
Copyright © 2012–2022. All rights reserved.