[Java] Class AbstractConcurrentMapBase

  • org.codehaus.groovy.util.AbstractConcurrentMapBase

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 AbstractConcurrentMapBase.Segment[] segments

Constructor Summary

Constructors
Constructor and description
AbstractConcurrentMapBase (Object segmentInfo)

Methods Summary

Methods
Type Params Return Type Name and description
protected AbstractConcurrentMapBase.Segment createSegment(Object segmentInfo, int cap)
int fullSize()
<K> protected static int hash(K key)
AbstractConcurrentMapBase.Segment segmentFor(int hash)
int size()
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 AbstractConcurrentMapBase.Segment[] segments

Constructor Detail

public AbstractConcurrentMapBase(Object segmentInfo)

Method Detail

protected AbstractConcurrentMapBase.Segment createSegment(Object segmentInfo, int cap)

public int fullSize()

<K> protected static int hash(K key)

public AbstractConcurrentMapBase.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/2.4.21/html/gapi/org/codehaus/groovy/util/AbstractConcurrentMapBase.html