Package groovy.util.slurpersupport
Class NamespaceAwareHashMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,String>
-
- groovy.util.slurpersupport.NamespaceAwareHashMap
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,String>
public class NamespaceAwareHashMap extends HashMap<String,String>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description NamespaceAwareHashMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(Object key)
String
get(Object key)
Map
getNamespaceTagHints()
String
put(String key, String value)
void
putAll(Map<? extends String,? extends String> m)
String
remove(Object key)
void
setNamespaceTagHints(Map namespaceTagHints)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
setNamespaceTagHints
public void setNamespaceTagHints(Map namespaceTagHints)
-
getNamespaceTagHints
public Map getNamespaceTagHints()
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<String,String>
- Overrides:
containsKey
in classHashMap<String,String>
-
-