Package: org.codehaus.groovy.util

## [Java] Class AbstractConcurrentMap.Segment<K, V>

- org.codehaus.groovy.util.AbstractConcurrentMap.Segment

-     public static abstract class AbstractConcurrentMap.Segment<K, V>
      extends AbstractConcurrentMapBaseSegment

- - ### Constructor Summary

    Constructors
    Constructor and description
    `protected Segment(int initialCapacity)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected abstract Entry<K, V>` | `createEntry(K key, int hash, V value)`
    `` | `public final V` | `get(K key, int hash)`
    `` | `public final Entry<K, V>` | `getOrPut(K key, int hash, V value)`
    `` | `public final Entry` | `put(K key, int hash, V value)`
    `` | `public void` | `remove(K key, int hash)`

- - ### Constructor Detail

    - #### protected Segment(int initialCapacity)

  - ### Method Detail

    - #### protected abstract Entry<K, V> createEntry(K key, int hash, V value)

    - #### public final V get(K key, int hash)

    - #### public final Entry<K, V> getOrPut(K key, int hash, V value)

    - #### public final Entry put(K key, int hash, V value)

    - #### public void remove(K key, int hash)