Package org.ini4j
Class CommonMultiMap<K,V>
- Object
-
- org.ini4j.BasicMultiMap<K,V>
-
- 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
-
-
Constructor Summary
Constructors Constructor Description CommonMultiMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
getComment
public String getComment(Object key)
- Specified by:
getComment
in interfaceCommentedMap<K,V>
-
clear
public void clear()
-
putComment
public String putComment(K key, String comment)
- Specified by:
putComment
in interfaceCommentedMap<K,V>
-
remove
public V remove(Object key)
-
remove
public V remove(Object key, int index)
-
removeComment
public String removeComment(Object key)
- Specified by:
removeComment
in interfaceCommentedMap<K,V>
-
-