Package org.codehaus.groovy.util
Class ComplexKeyHashMap
java.lang.Object
org.codehaus.groovy.util.ComplexKeyHashMap
- Direct Known Subclasses:
SingleKeyHashMap
,TripleKeyHashMap
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected static final int
protected int
protected ComplexKeyHashMap.Entry[]
protected int
-
Constructor Summary
-
Method Summary
-
Field Details
-
table
-
DEFAULT_CAPACITY
protected static final int DEFAULT_CAPACITY- See Also:
-
MINIMUM_CAPACITY
protected static final int MINIMUM_CAPACITY- See Also:
-
MAXIMUM_CAPACITY
protected static final int MAXIMUM_CAPACITY- See Also:
-
size
protected int size -
threshold
protected transient int threshold
-
-
Constructor Details
-
ComplexKeyHashMap
public ComplexKeyHashMap() -
ComplexKeyHashMap
public ComplexKeyHashMap(boolean b) -
ComplexKeyHashMap
public ComplexKeyHashMap(int expectedMaxSize)
-
-
Method Details
-
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
-
getEntrySetIterator
-