- org.codehaus.groovy.util.AbstractConcurrentMap.Segment
-
-
Inherited fields
Fields inherited from class |
Fields |
class Segment |
array, offset, count, DONE |
-
Constructor Summary
Constructors
Constructor and description |
protected Segment
(int initialCapacity)
|
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
protected Entry<K, V> |
createEntry(K key, int hash, V value)
|
|
V |
get(K key, int hash)
|
|
Entry<K, V> |
getOrPut(K key, int hash, V value)
|
|
Map.Entry |
put(K key, int hash, V value)
|
|
void |
remove(K key, int hash)
|
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class Segment |
length, toString, clone, charAt, subSequence, last, next, first, current, getIndex, previous, setIndex, getBeginIndex, getEndIndex, setPartialReturn, isPartialReturn, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll, codePoints, chars |
-
-
Constructor Detail
-
protected Segment(int initialCapacity)
-
Method Detail
-
protected 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 Map.Entry put(K key, int hash, V value)
-
public void remove(K key, int hash)
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.