public class CommonMultiMap<K,V> extends BasicMultiMap<K,V> implements CommentedMap<K,V>
| Constructor and Description |
|---|
CommonMultiMap() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
addEmptyLine(K key) |
void |
clear() |
List<String> |
getComment(Object key) |
int |
getNewLineCount(Object key) |
void |
putAll(Map<? extends K,? extends V> map) |
List<String> |
putComment(K key,
List<String> comment) |
V |
remove(Object key) |
V |
remove(Object key,
int index) |
List<String> |
removeComment(Object key) |
add, add, containsKey, containsValue, entrySet, get, get, getAll, isEmpty, keySet, length, put, put, putAll, size, toString, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putIfAbsent, remove, replace, replace, replaceAll, size, valuespublic int getNewLineCount(Object key)
getNewLineCount in interface CommentedMap<K,V>public Integer addEmptyLine(K key)
addEmptyLine in interface CommentedMap<K,V>public List<String> getComment(Object key)
getComment in interface CommentedMap<K,V>public void clear()
public List<String> putComment(K key, List<String> comment)
putComment in interface CommentedMap<K,V>public List<String> removeComment(Object key)
removeComment in interface CommentedMap<K,V>Copyright © 2001–2025. All rights reserved.