Map<K,V>
, CommentedMap<K,V>
, MultiMap<K,V>
BasicOptionMap
, BasicProfile
public class CommonMultiMap<K,V> extends BasicMultiMap<K,V> implements CommentedMap<K,V>
Constructor | Description |
---|---|
CommonMultiMap() |
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) |
add, add, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, size, toString, values
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putIfAbsent, remove, replace, replace, replaceAll, size, values
public CommonMultiMap()
public String getComment(Object key)
getComment
in interface CommentedMap<K,V>
public void clear()
public String putComment(K key, String comment)
putComment
in interface CommentedMap<K,V>
public String removeComment(Object key)
removeComment
in interface CommentedMap<K,V>