public abstract class AbstractConcurrentMapBase
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractConcurrentMapBase.Entry<V> |
static class |
AbstractConcurrentMapBase.Segment |
Modifier and Type | Field and Description |
---|---|
protected static int |
MAXIMUM_CAPACITY |
protected AbstractConcurrentMapBase.Segment[] |
segments |
Constructor and Description |
---|
AbstractConcurrentMapBase(java.lang.Object segmentInfo) |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractConcurrentMapBase.Segment |
createSegment(java.lang.Object segmentInfo,
int cap) |
int |
fullSize() |
protected static <K> int |
hash(K key) |
AbstractConcurrentMapBase.Segment |
segmentFor(int hash) |
int |
size() |
java.util.Collection |
values() |
protected static final int MAXIMUM_CAPACITY
protected final AbstractConcurrentMapBase.Segment[] segments
public AbstractConcurrentMapBase(java.lang.Object segmentInfo)
protected abstract AbstractConcurrentMapBase.Segment createSegment(java.lang.Object segmentInfo, int cap)
protected static <K> int hash(K key)
public AbstractConcurrentMapBase.Segment segmentFor(int hash)
public int fullSize()
public int size()
public java.util.Collection values()