Package org.codehaus.groovy.util
Class SingleKeyHashMap
java.lang.Object
org.codehaus.groovy.util.ComplexKeyHashMap
org.codehaus.groovy.util.SingleKeyHashMap
- Direct Known Subclasses:
MetaClassImpl.Index
public class SingleKeyHashMap extends ComplexKeyHashMap
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SingleKeyHashMap.Copier
static class
SingleKeyHashMap.Entry
Nested classes/interfaces inherited from class org.codehaus.groovy.util.ComplexKeyHashMap
ComplexKeyHashMap.EntryIterator
-
Field Summary
Fields inherited from class org.codehaus.groovy.util.ComplexKeyHashMap
DEFAULT_CAPACITY, MAXIMUM_CAPACITY, MINIMUM_CAPACITY, size, table, threshold
-
Constructor Summary
Constructors Constructor Description SingleKeyHashMap()
SingleKeyHashMap(boolean b)
-
Method Summary
Modifier and Type Method Description boolean
containsKey(String name)
static SingleKeyHashMap
copy(SingleKeyHashMap dst, SingleKeyHashMap src, SingleKeyHashMap.Copier copier)
Object
get(Object key)
SingleKeyHashMap.Entry
getOrPut(Object key)
SingleKeyHashMap.Entry
getOrPutEntry(SingleKeyHashMap.Entry element)
void
put(Object key, Object value)
SingleKeyHashMap.Entry
putCopyOfUnexisting(SingleKeyHashMap.Entry ee)
ComplexKeyHashMap.Entry
remove(Object key)
Methods inherited from class org.codehaus.groovy.util.ComplexKeyHashMap
clear, getEntrySetIterator, getTable, hash, init, isEmpty, resize, size
-
Constructor Details
-
SingleKeyHashMap
public SingleKeyHashMap() -
SingleKeyHashMap
public SingleKeyHashMap(boolean b)
-
-
Method Details
-
containsKey
-
put
-
get
-
getOrPut
-
getOrPutEntry
-
putCopyOfUnexisting
-
remove
-
copy
public static SingleKeyHashMap copy(SingleKeyHashMap dst, SingleKeyHashMap src, SingleKeyHashMap.Copier copier)
-