W3cubDocs

/Groovy 3.0

[Java] Class AbstractConcurrentMapBase

  • org.codehaus.groovy.util.AbstractConcurrentMapBase
public abstract class AbstractConcurrentMapBase
extends Object

Nested Class Summary

Nested classes
Modifiers Name Description
interface AbstractConcurrentMapBase.Entry
static class AbstractConcurrentMapBase.Segment

Field Summary

Fields
Modifiers Name Description
protected static int MAXIMUM_CAPACITY
protected Segment[] segments

Constructor Summary

Constructors
Constructor and description
AbstractConcurrentMapBase (Object segmentInfo)

Methods Summary

Methods
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

Inherited Methods
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