W3cubDocs

/Groovy 3.0

[Java] Class AbstractConcurrentMap<K, V>

  • org.codehaus.groovy.util.AbstractConcurrentMap
public abstract class AbstractConcurrentMap<K, V>
extends AbstractConcurrentMapBase

Nested Class Summary

Nested classes
Modifiers Name Description
interface AbstractConcurrentMap.Entry
static class AbstractConcurrentMap.Segment
Inherited fields
Fields inherited from class Fields
class AbstractConcurrentMapBase MAXIMUM_CAPACITY, segments

Constructor Summary

Constructors
Constructor and description
AbstractConcurrentMap (Object segmentInfo)

Methods Summary

Methods
Type Params Return Type Name and description
public V get(K key)
public Entry<K, V> getOrPut(K key, V value)
public void put(K key, V value)
public void remove(K key)
public Segment segmentFor(int hash)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class AbstractConcurrentMapBase createSegment, fullSize, hash, segmentFor, size, values

Constructor Detail

public AbstractConcurrentMap(Object segmentInfo)

Method Detail

public V get(K key)

public Entry<K, V> getOrPut(K key, V value)

public void put(K key, V value)

public void remove(K key)

public Segment segmentFor(int hash)

© 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/AbstractConcurrentMap.html