On this page
[Java] Class AbstractConcurrentMapBase
- org.codehaus.groovy.util.AbstractConcurrentMapBase
@Deprecated
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
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-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/codehaus/groovy/util/AbstractConcurrentMapBase.html