Groovy 2.2.0

org.codehaus.groovy.util
[Java] Class AbstractConcurrentMapBase

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

public abstract class AbstractConcurrentMapBase
extends Object

Nested Class Summary
interface AbstractConcurrentMapBase.Entry

static class AbstractConcurrentMapBase.Segment

 
Field Summary
protected static int MAXIMUM_CAPACITY

protected AbstractConcurrentMapBase.Segment[] segments

 
Constructor Summary
AbstractConcurrentMapBase(Object segmentInfo)

 
Method Summary
protected AbstractConcurrentMapBase.Segment createSegment(Object segmentInfo, int cap)

int fullSize()

protected static int hash(Object key)

AbstractConcurrentMapBase.Segment segmentFor(int hash)

int size()

Collection values()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

MAXIMUM_CAPACITY

protected static final int MAXIMUM_CAPACITY


segments

protected final AbstractConcurrentMapBase.Segment[] segments


 
Constructor Detail

AbstractConcurrentMapBase

public AbstractConcurrentMapBase(Object segmentInfo)


 
Method Detail

createSegment

protected AbstractConcurrentMapBase.Segment createSegment(Object segmentInfo, int cap)


fullSize

public int fullSize()


hash

protected static int hash(Object key)


segmentFor

public AbstractConcurrentMapBase.Segment segmentFor(int hash)


size

public int size()


values

public Collection values()


 

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