Groovy 2.2.0

org.codehaus.groovy.util
[Java] Class AbstractConcurrentMap.Segment

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

public static abstract class AbstractConcurrentMap.Segment
extends Segment

Constructor Summary
protected AbstractConcurrentMap.Segment(int initialCapacity)

 
Method Summary
protected Entry createEntry(Object key, int hash, Object value)

Object get(Object key, int hash)

Entry getOrPut(Object key, int hash, Object value)

Entry put(Object key, int hash, Object value)

void remove(Object key, int hash)

 

Constructor Detail

AbstractConcurrentMap.Segment

protected AbstractConcurrentMap.Segment(int initialCapacity)


 
Method Detail

createEntry

protected Entry createEntry(Object key, int hash, Object value)


get

public final Object get(Object key, int hash)


getOrPut

public final Entry getOrPut(Object key, int hash, Object value)


put

public final Entry put(Object key, int hash, Object value)


remove

public void remove(Object key, int hash)


 

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