Class MetaMethodIndex
- java.lang.Object
- 
- org.codehaus.groovy.runtime.metaclass.MetaMethodIndex
 
- 
 public class MetaMethodIndex extends 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 Summary
 
- 
- 
- 
Field Detail- 
methodHeaderspublic SingleKeyHashMap methodHeaders 
 - 
tableprotected MetaMethodIndex.Entry[] 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 Detail- 
MetaMethodIndexpublic MetaMethodIndex(CachedClass theCachedClass) 
 
- 
 - 
Method Detail- 
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) 
 - 
getTablepublic MetaMethodIndex.Entry[] getTable() 
 - 
getEntrySetIteratorpublic MetaMethodIndex.EntryIterator getEntrySetIterator() 
 - 
getMethodspublic final MetaMethodIndex.Entry getMethods(Class cls, String name) 
 - 
getOrPutMethodspublic MetaMethodIndex.Entry getOrPutMethods(String name, MetaMethodIndex.Header header) 
 - 
getHeaderpublic MetaMethodIndex.Header getHeader(Class cls) 
 - 
copyNonPrivateMethodspublic void copyNonPrivateMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to) 
 - 
copyAllMethodsToSuperpublic void copyAllMethodsToSuper(MetaMethodIndex.Header from, MetaMethodIndex.Header to) 
 - 
copyNonPrivateMethodsFromSuperpublic void copyNonPrivateMethodsFromSuper(MetaMethodIndex.Header from) 
 - 
copyNonPrivateNonNewMetaMethodspublic void copyNonPrivateNonNewMetaMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to) 
 - 
addMethodToListpublic Object addMethodToList(Object o, MetaMethod toIndex) 
 - 
copyMethodsToSuperpublic void copyMethodsToSuper() 
 - 
copypublic void copy(Class c, MetaMethodIndex.Header index) 
 - 
copypublic void copy(MetaMethodIndex.Header from, MetaMethodIndex.Header to) 
 - 
clearCachespublic void clearCaches() 
 - 
clearCachespublic void clearCaches(String name) 
 
- 
 
-