org.ini4j
Class CommonMultiMap<K,V>

Object
  extended by org.ini4j.BasicMultiMap<K,V>
      extended by org.ini4j.CommonMultiMap<K,V>
All Implemented Interfaces:
Serializable, Map<K,V>, CommentedMap<K,V>, MultiMap<K,V>
Direct Known Subclasses:
BasicOptionMap, BasicProfile

public class CommonMultiMap<K,V>
extends BasicMultiMap<K,V>
implements CommentedMap<K,V>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface Map
Map.Entry<K,V>
 
Constructor Summary
CommonMultiMap()
           
 
Method Summary
 void clear()
           
 String getComment(Object key)
           
 void putAll(Map<? extends K,? extends V> map)
           
 String putComment(K key, String comment)
           
 V remove(Object key)
           
 V remove(Object key, int index)
           
 String removeComment(Object key)
           
 
Methods inherited from class org.ini4j.BasicMultiMap
add, add, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, size, toString, values
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Map
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, size, values
 

Constructor Detail

CommonMultiMap

public CommonMultiMap()
Method Detail

getComment

public String getComment(Object key)
Specified by:
getComment in interface CommentedMap<K,V>

clear

public void clear()
Specified by:
clear in interface Map<K,V>
Overrides:
clear in class BasicMultiMap<K,V>

putAll

public void putAll(Map<? extends K,? extends V> map)
Specified by:
putAll in interface Map<K,V>
Overrides:
putAll in class BasicMultiMap<K,V>

putComment

public String putComment(K key,
                         String comment)
Specified by:
putComment in interface CommentedMap<K,V>

remove

public V remove(Object key)
Specified by:
remove in interface Map<K,V>
Overrides:
remove in class BasicMultiMap<K,V>

remove

public V remove(Object key,
                int index)
Specified by:
remove in interface MultiMap<K,V>
Overrides:
remove in class BasicMultiMap<K,V>

removeComment

public String removeComment(Object key)
Specified by:
removeComment in interface CommentedMap<K,V>


Copyright © 2011. All Rights Reserved.