public abstract class AbstractConcurrentMap<K,V> extends AbstractConcurrentMapBase
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractConcurrentMap.Entry<K,V> |
static class |
AbstractConcurrentMap.Segment<K,V> |
MAXIMUM_CAPACITY, segments
Constructor and Description |
---|
AbstractConcurrentMap(Object segmentInfo) |
Modifier and Type | Method and Description |
---|---|
V |
get(K key) |
AbstractConcurrentMap.Entry<K,V> |
getOrPut(K key,
V value) |
void |
put(K key,
V value) |
void |
remove(K key) |
AbstractConcurrentMap.Segment |
segmentFor(int hash) |
createSegment, fullSize, hash, size, values
public AbstractConcurrentMap(Object segmentInfo)
public AbstractConcurrentMap.Segment segmentFor(int hash)
segmentFor
in class AbstractConcurrentMapBase
public AbstractConcurrentMap.Entry<K,V> getOrPut(K key, V value)
public void remove(K key)