Class MetaMethodIndex
java.lang.Object
org.codehaus.groovy.runtime.metaclass.MetaMethodIndex
public class MetaMethodIndex
extends java.lang.Object
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMetaMethodIndex.CacheEntrystatic classMetaMethodIndex.Entrystatic interfaceMetaMethodIndex.EntryIteratorstatic classMetaMethodIndex.Header
- 
Field SummaryFields Modifier and Type Field Description protected static intDEFAULT_CAPACITYprotected static intMAXIMUM_CAPACITYSingleKeyHashMapmethodHeadersprotected static intMINIMUM_CAPACITYprotected intsizeprotected MetaMethodIndex.Entry[]tableprotected intthreshold
- 
Constructor SummaryConstructors Constructor Description MetaMethodIndex(CachedClass theCachedClass)
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
methodHeaders
- 
table
- 
DEFAULT_CAPACITYprotected static final int DEFAULT_CAPACITY- See Also:
- Constant Field Values
 
- 
MINIMUM_CAPACITYprotected static final int MINIMUM_CAPACITY- See Also:
- Constant Field Values
 
- 
MAXIMUM_CAPACITYprotected static final int MAXIMUM_CAPACITY- See Also:
- Constant Field Values
 
- 
sizeprotected int size
- 
thresholdprotected transient int threshold
 
- 
- 
Constructor Details- 
MetaMethodIndex
 
- 
- 
Method Details- 
hashpublic static int hash(int h)
- 
sizepublic int size()
- 
isEmptypublic boolean isEmpty()
- 
clearpublic void clear()
- 
initpublic void init(int initCapacity)
- 
resizepublic void resize(int newLength)
- 
getTable
- 
getEntrySetIterator
- 
getMethods
- 
getOrPutMethods
- 
getHeader
- 
copyNonPrivateMethodspublic void copyNonPrivateMethods(java.lang.Class from, java.lang.Class to)
- 
copyNonPrivateMethods
- 
copyAllMethodsToSuper
- 
copyNonPrivateMethodsFromSuper
- 
copyNonPrivateMethodsDownpublic void copyNonPrivateMethodsDown(java.lang.Class from, java.lang.Class to)
- 
copyNonPrivateNonNewMetaMethodspublic void copyNonPrivateNonNewMetaMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to)
- 
addMethodToList
- 
copyMethodsToSuperpublic void copyMethodsToSuper()
- 
copy
- 
copy
- 
clearCachespublic void clearCaches()
- 
clearCachespublic void clearCaches(java.lang.String name)
 
-