|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.util.AbstractConcurrentMapBase
public abstract class AbstractConcurrentMapBase
Nested Class Summary | |
---|---|
static interface |
AbstractConcurrentMapBase.Entry<V>
|
static class |
AbstractConcurrentMapBase.Segment
|
Field Summary | |
---|---|
protected static int |
MAXIMUM_CAPACITY
|
protected AbstractConcurrentMapBase.Segment[] |
segments
|
Constructor Summary | |
---|---|
AbstractConcurrentMapBase(java.lang.Object segmentInfo)
|
Method Summary | ||
---|---|---|
protected abstract AbstractConcurrentMapBase.Segment |
createSegment(java.lang.Object segmentInfo,
int cap)
|
|
int |
fullSize()
|
|
protected static
|
hash(K key)
|
|
AbstractConcurrentMapBase.Segment |
segmentFor(int hash)
|
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int MAXIMUM_CAPACITY
protected final AbstractConcurrentMapBase.Segment[] segments
Constructor Detail |
---|
public AbstractConcurrentMapBase(java.lang.Object segmentInfo)
Method Detail |
---|
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()
|
Copyright © 2003-2011 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |