public abstract class AbstractConcurrentMapBase extends 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(Object segmentInfo) |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractConcurrentMapBase.Segment |
createSegment(Object segmentInfo,
int cap) |
int |
fullSize() |
protected static <K> int |
hash(K key) |
AbstractConcurrentMapBase.Segment |
segmentFor(int hash) |
int |
size() |
Collection |
values() |
protected static final int MAXIMUM_CAPACITY
protected final AbstractConcurrentMapBase.Segment[] segments
public AbstractConcurrentMapBase(Object segmentInfo)
protected abstract AbstractConcurrentMapBase.Segment createSegment(Object segmentInfo, int cap)
protected static <K> int hash(K key)
public AbstractConcurrentMapBase.Segment segmentFor(int hash)
public int fullSize()
public int size()
public Collection values()