|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.runtime.metaclass.MetaMethodIndex
public class MetaMethodIndex extends java.lang.Object
Nested Class Summary | |
---|---|
static class |
MetaMethodIndex.CacheEntry
|
static class |
MetaMethodIndex.Entry
|
interface |
MetaMethodIndex.EntryIterator
|
static class |
MetaMethodIndex.Header
|
Field Summary | |
---|---|
protected static int |
DEFAULT_CAPACITY
|
protected static int |
MAXIMUM_CAPACITY
|
protected static int |
MINIMUM_CAPACITY
|
SingleKeyHashMap |
methodHeaders
|
protected int |
size
|
protected MetaMethodIndex.Entry[] |
table
|
protected int |
threshold
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected static final int DEFAULT_CAPACITY
protected static final int MAXIMUM_CAPACITY
protected static final int MINIMUM_CAPACITY
public SingleKeyHashMap methodHeaders
protected int size
protected MetaMethodIndex.Entry[] table
protected int threshold
Method Detail |
---|
public java.lang.Object MetaMethodIndex(CachedClass theCachedClass)
public java.lang.Object addMethodToList(java.lang.Object o, MetaMethod method)
public void clear()
public void clearCaches()
public void clearCaches(java.lang.String name)
public void copy(java.lang.Class c, MetaMethodIndex.Header index)
public void copy(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
public void copyAllMethodsToSuper(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
public void copyMethodsToSuper()
public void copyNonPrivateMethods(java.lang.Class from, java.lang.Class to)
public void copyNonPrivateMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
public void copyNonPrivateMethodsDown(java.lang.Class from, java.lang.Class to)
public void copyNonPrivateMethodsFromSuper(MetaMethodIndex.Header from)
public void copyNonPrivateNonNewMetaMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
public MetaMethodIndex.EntryIterator getEntrySetIterator()
public MetaMethodIndex.Header getHeader(java.lang.Class cls)
public final MetaMethodIndex.Entry getMethods(java.lang.Class cls, java.lang.String name)
public MetaMethodIndex.Entry getOrPutMethods(java.lang.String name, MetaMethodIndex.Header header)
public MetaMethodIndex.Entry[] getTable()
public static int hash(int h)
public void init(int initCapacity)
public boolean isEmpty()
public void resize(int newLength)
public int size()
Groovy Documentation