org.jboss.gravel.common.util
Class NodeHashMap

java.lang.Object
  extended by org.jboss.gravel.common.util.NodeHashMap
All Implemented Interfaces:
Map<String,NodeMap>, NodeMap

public final class NodeHashMap
extends Object
implements NodeMap


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
NodeHashMap()
           
NodeHashMap(int initialCapacity)
           
NodeHashMap(int initialCapacity, float loadFactor)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<String,NodeMap>> entrySet()
           
 NodeMap get(Object key)
           
 String getNodeValue()
           
 boolean hasNodeValue()
           
 boolean isEmpty()
           
 Set<String> keySet()
           
 void lock()
           
 NodeMap put(String key, NodeMap value)
           
 void putAll(Map<? extends String,? extends NodeMap> m)
           
 NodeMap remove(Object key)
           
 void setNodeValue(String nodeValue)
           
 int size()
           
 String toString()
          Return the node value, or null if there is none.
 Collection<NodeMap> values()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

NodeHashMap

public NodeHashMap()

NodeHashMap

public NodeHashMap(int initialCapacity)

NodeHashMap

public NodeHashMap(int initialCapacity,
                   float loadFactor)
Method Detail

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