Class MetaMethodIndex
java.lang.Object
org.codehaus.groovy.runtime.metaclass.MetaMethodIndex
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic interfacestatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intfinal Map<Class,MetaMethodIndex.Header> protected static final intprotected intprotected MetaMethodIndex.Entry[]protected int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddMethodToList(Object o, MetaMethod toIndex) voidclear()voidvoidclearCaches(String name) voidcopy(Class c, MetaMethodIndex.Header index) voidcopy(MetaMethodIndex.Header from, MetaMethodIndex.Header to) voidvoidvoidcopyNonPrivateMethods(Class from, Class to) voidvoidcopyNonPrivateMethodsDown(Class from, Class to) voidvoidfinal MetaMethodIndex.EntrygetMethods(Class cls, String name) getOrPutMethods(String name, MetaMethodIndex.Header header) getTable()static inthash(int h) voidinit(int initCapacity) booleanisEmpty()voidresize(int newLength) intsize()
- 
Field Details- 
methodHeaders
- 
table
- 
DEFAULT_CAPACITYprotected static final int DEFAULT_CAPACITY- See Also:
 
- 
MINIMUM_CAPACITYprotected static final int MINIMUM_CAPACITY- See Also:
 
- 
MAXIMUM_CAPACITYprotected static final int MAXIMUM_CAPACITY- See Also:
 
- 
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
- 
copyNonPrivateMethods
- 
copyNonPrivateMethods
- 
copyAllMethodsToSuper
- 
copyNonPrivateMethodsFromSuper
- 
copyNonPrivateMethodsDown
- 
copyNonPrivateNonNewMetaMethods
- 
addMethodToList
- 
copyMethodsToSuperpublic void copyMethodsToSuper()
- 
copy
- 
copy
- 
clearCachespublic void clearCaches()
- 
clearCaches
 
-