[Java] Class AbstractConcurrentMapBase
- org.codehaus.groovy.util.AbstractConcurrentMapBase
public abstract class AbstractConcurrentMapBase extends Object
Nested Class Summary
Modifiers | Name | Description |
---|---|---|
interface | AbstractConcurrentMapBase.Entry | |
static class | AbstractConcurrentMapBase.Segment |
Field Summary
Modifiers | Name | Description |
---|---|---|
protected static int | MAXIMUM_CAPACITY | |
protected Segment[] | segments |
Constructor Summary
Constructor and description |
---|
AbstractConcurrentMapBase
(Object segmentInfo) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected abstract Segment |
createSegment(Object segmentInfo, int cap) | |
public int |
fullSize() | |
<K> | protected static int |
hash(K key) |
public Segment |
segmentFor(int hash) | |
public int |
size() | |
public Collection |
values() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
protected static final int MAXIMUM_CAPACITY
protected final Segment[] segments
Constructor Detail
public AbstractConcurrentMapBase(Object segmentInfo)
Method Detail
protected abstract Segment createSegment(Object segmentInfo, int cap)
public int fullSize()
<K> protected static int hash(K key)
public Segment segmentFor(int hash)
public int size()
public Collection values()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/util/AbstractConcurrentMapBase.html