Package org.codehaus.groovy.util
Class AbstractConcurrentMapBase
java.lang.Object
org.codehaus.groovy.util.AbstractConcurrentMapBase
- Direct Known Subclasses:
AbstractConcurrentDoubleKeyMap,AbstractConcurrentMap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected final AbstractConcurrentMapBase.Segment[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractConcurrentMapBase.SegmentcreateSegment(Object segmentInfo, int cap) intfullSize()protected static <K> inthash(K key) segmentFor(int hash) intsize()
-
Field Details
-
MAXIMUM_CAPACITY
protected static final int MAXIMUM_CAPACITY- See Also:
-
segments
-
-
Constructor Details
-
AbstractConcurrentMapBase
-
-
Method Details
-
createSegment
-
hash
protected static <K> int hash(K key) -
segmentFor
-
fullSize
public int fullSize() -
size
public int size()
-