org.apache.aries.util.manifest
Class ManifestHeaderProcessor.NameValueMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Map<String,String>>
          extended by org.apache.aries.util.manifest.ManifestHeaderProcessor.NameValueMap
Type Parameters:
N - Type of 'Name'
V - Type of 'Value'
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Map<String,String>>, ManifestHeaderProcessor.NameValueCollection
Enclosing class:
ManifestHeaderProcessor

public static class ManifestHeaderProcessor.NameValueMap
extends HashMap<String,Map<String,String>>
implements ManifestHeaderProcessor.NameValueCollection, Map<String,Map<String,String>>

Map of Name -> Value.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
ManifestHeaderProcessor.NameValueMap()
           
 
Method Summary
 void addToCollection(String n, Map<String,String> v)
          Add this Name & Value to the collection.
 String toString()
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

ManifestHeaderProcessor.NameValueMap

public ManifestHeaderProcessor.NameValueMap()
Method Detail

addToCollection

public void addToCollection(String n,
                            Map<String,String> v)
Description copied from interface: ManifestHeaderProcessor.NameValueCollection
Add this Name & Value to the collection.

Specified by:
addToCollection in interface ManifestHeaderProcessor.NameValueCollection

toString

public String toString()
Overrides:
toString in class AbstractMap<String,Map<String,String>>


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.