Groovy 1.7.0

org.codehaus.groovy.util
Class AbstractConcurrentMap

java.lang.Object
  org.codehaus.groovy.util.AbstractConcurrentMapBase
      org.codehaus.groovy.util.AbstractConcurrentMap

class AbstractConcurrentMap
extends AbstractConcurrentMapBase

Nested Class Summary
interface AbstractConcurrentMap.Entry

class AbstractConcurrentMap.Segment

 
Field Summary
 
Fields inherited from class AbstractConcurrentMapBase
MAXIMUM_CAPACITY, segments
 
Constructor Summary
AbstractConcurrentMap(Object segmentInfo)

 
Method Summary
V get(K key)

Entry getOrPut(K key, V value)

void put(K key, V value)

void remove(K key)

Segment segmentFor(int hash)

 
Methods inherited from class AbstractConcurrentMapBase
createSegment, fullSize, hash, segmentFor, size
 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Constructor Detail

AbstractConcurrentMap

public AbstractConcurrentMap(Object segmentInfo)


 
Method Detail

get

public V get(K key)


getOrPut

public Entry getOrPut(K key, V value)


put

public void put(K key, V value)


remove

public void remove(K key)


segmentFor

public Segment segmentFor(int hash)


 

Copyright © 2003-2009 The Codehaus. All rights reserved.