Package org.codehaus.groovy.util
Class ComplexKeyHashMap
- java.lang.Object
 - 
- org.codehaus.groovy.util.ComplexKeyHashMap
 
 
- 
- Direct Known Subclasses:
 SingleKeyHashMap,TripleKeyHashMap
public class ComplexKeyHashMap extends Object
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComplexKeyHashMap.Entrystatic interfaceComplexKeyHashMap.EntryIterator 
- 
Field Summary
Fields Modifier and Type Field Description protected static intDEFAULT_CAPACITYprotected static intMAXIMUM_CAPACITYprotected static intMINIMUM_CAPACITYprotected intsizeprotected ComplexKeyHashMap.Entry[]tableprotected intthreshold 
- 
Constructor Summary
Constructors Constructor Description ComplexKeyHashMap()ComplexKeyHashMap(boolean b)ComplexKeyHashMap(int expectedMaxSize) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()ComplexKeyHashMap.EntryIteratorgetEntrySetIterator()ComplexKeyHashMap.Entry[]getTable()static inthash(int h)voidinit(int initCapacity)booleanisEmpty()voidresize(int newLength)intsize() 
 - 
 
- 
- 
Field Detail
- 
table
protected ComplexKeyHashMap.Entry[] table
 
- 
DEFAULT_CAPACITY
protected static final int DEFAULT_CAPACITY
- See Also:
 - Constant Field Values
 
 
- 
MINIMUM_CAPACITY
protected static final int MINIMUM_CAPACITY
- See Also:
 - Constant Field Values
 
 
- 
MAXIMUM_CAPACITY
protected static final int MAXIMUM_CAPACITY
- See Also:
 - Constant Field Values
 
 
- 
size
protected int size
 
- 
threshold
protected transient int threshold
 
 - 
 
- 
Method Detail
- 
hash
public static int hash(int h)
 
- 
size
public int size()
 
- 
isEmpty
public boolean isEmpty()
 
- 
clear
public void clear()
 
- 
init
public void init(int initCapacity)
 
- 
resize
public void resize(int newLength)
 
- 
getTable
public ComplexKeyHashMap.Entry[] getTable()
 
- 
getEntrySetIterator
public ComplexKeyHashMap.EntryIterator getEntrySetIterator()
 
 - 
 
 -