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 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(java.lang.Class cls, java.lang.String name) 
 - 
getOrPutMethodspublic MetaMethodIndex.Entry getOrPutMethods(java.lang.String name, MetaMethodIndex.Header header) 
 - 
getHeaderpublic MetaMethodIndex.Header getHeader(java.lang.Class cls) 
 - 
copyNonPrivateMethodspublic void copyNonPrivateMethods(java.lang.Class from, java.lang.Class to)
 - 
copyNonPrivateMethodspublic void copyNonPrivateMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to) 
 - 
copyAllMethodsToSuperpublic void copyAllMethodsToSuper(MetaMethodIndex.Header from, MetaMethodIndex.Header to) 
 - 
copyNonPrivateMethodsFromSuperpublic void copyNonPrivateMethodsFromSuper(MetaMethodIndex.Header from) 
 - 
copyNonPrivateMethodsDownpublic void copyNonPrivateMethodsDown(java.lang.Class from, java.lang.Class to)
 - 
copyNonPrivateNonNewMetaMethodspublic void copyNonPrivateNonNewMetaMethods(MetaMethodIndex.Header from, MetaMethodIndex.Header to) 
 - 
addMethodToListpublic java.lang.Object addMethodToList(java.lang.Object o, MetaMethod method)
 - 
copyMethodsToSuperpublic void copyMethodsToSuper() 
 - 
copypublic void copy(java.lang.Class c, MetaMethodIndex.Header index)
 - 
copypublic void copy(MetaMethodIndex.Header from, MetaMethodIndex.Header to) 
 - 
clearCachespublic void clearCaches() 
 - 
clearCachespublic void clearCaches(java.lang.String name) 
 
- 
 
-