Package org.codehaus.groovy.util
Class ComplexKeyHashMap
java.lang.Object
org.codehaus.groovy.util.ComplexKeyHashMap
- Direct Known Subclasses:
- SingleKeyHashMap,- TripleKeyHashMap
public class ComplexKeyHashMap
extends java.lang.Object
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classComplexKeyHashMap.Entrystatic interfaceComplexKeyHashMap.EntryIterator
- 
Field SummaryFields Modifier and Type Field Description protected static intDEFAULT_CAPACITYprotected static intMAXIMUM_CAPACITYprotected static intMINIMUM_CAPACITYprotected intsizeprotected ComplexKeyHashMap.Entry[]tableprotected intthreshold
- 
Constructor SummaryConstructors Constructor Description ComplexKeyHashMap()ComplexKeyHashMap(boolean b)ComplexKeyHashMap(int expectedMaxSize)
- 
Method SummaryModifier and Type Method Description voidclear()ComplexKeyHashMap.EntryIteratorgetEntrySetIterator()ComplexKeyHashMap.Entry[]getTable()static inthash(int h)voidinit(int initCapacity)booleanisEmpty()voidresize(int newLength)intsize()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
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- 
ComplexKeyHashMappublic ComplexKeyHashMap()
- 
ComplexKeyHashMappublic ComplexKeyHashMap(boolean b)
- 
ComplexKeyHashMappublic ComplexKeyHashMap(int expectedMaxSize)
 
- 
- 
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
 
-