org.jboss.gravel.common.util
Class NodeHashMap
java.lang.Object
org.jboss.gravel.common.util.NodeHashMap
- All Implemented Interfaces:
- Map<String,NodeMap>, NodeMap
public final class NodeHashMap
- extends Object
- implements NodeMap
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
NodeHashMap
public NodeHashMap()
NodeHashMap
public NodeHashMap(int initialCapacity)
NodeHashMap
public NodeHashMap(int initialCapacity,
float loadFactor)
hasNodeValue
public boolean hasNodeValue()
- Specified by:
hasNodeValue
in interface NodeMap
getNodeValue
public String getNodeValue()
- Specified by:
getNodeValue
in interface NodeMap
setNodeValue
public void setNodeValue(String nodeValue)
- Specified by:
setNodeValue
in interface NodeMap
lock
public void lock()
- Specified by:
lock
in interface NodeMap
size
public int size()
- Specified by:
size
in interface Map<String,NodeMap>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map<String,NodeMap>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map<String,NodeMap>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interface Map<String,NodeMap>
get
public NodeMap get(Object key)
- Specified by:
get
in interface Map<String,NodeMap>
put
public NodeMap put(String key,
NodeMap value)
- Specified by:
put
in interface Map<String,NodeMap>
remove
public NodeMap remove(Object key)
- Specified by:
remove
in interface Map<String,NodeMap>
putAll
public void putAll(Map<? extends String,? extends NodeMap> m)
- Specified by:
putAll
in interface Map<String,NodeMap>
clear
public void clear()
- Specified by:
clear
in interface Map<String,NodeMap>
keySet
public Set<String> keySet()
- Specified by:
keySet
in interface Map<String,NodeMap>
values
public Collection<NodeMap> values()
- Specified by:
values
in interface Map<String,NodeMap>
entrySet
public Set<Map.Entry<String,NodeMap>> entrySet()
- Specified by:
entrySet
in interface Map<String,NodeMap>
toString
public String toString()
- Description copied from interface:
NodeMap
- Return the node value, or
null
if there is none.
- Specified by:
toString
in interface NodeMap
- Overrides:
toString
in class Object
- Returns:
- the node value