public interface MutableMap<K,V> extends BaseUnsortedMap<K,V>
UnmodMap.UnEntry<K,V>
Modifier and Type | Method and Description |
---|---|
MutableMap<K,V> |
assoc(K key,
V val)
Returns a new map with the given key/value added
|
default MutableMap<K,V> |
assoc(Map.Entry<K,V> entry)
Returns a new map with an immutable copy of the given entry added
|
default MutableSet<Map.Entry<K,V>> |
entrySet()
Returns a view of the mappings contained in this map.
|
ImMap<K,V> |
immutable()
Returns an immutable version of this mutable map.
|
default MutableSet<K> |
keySet()
Returns a mutable view of the keys contained in this map.
|
MutableMap<K,V> |
without(K key)
Returns a new map with the given key/value removed
|
equator
containsKey, entry, get, getOrElse
clear, compute, computeIfAbsent, computeIfPresent, containsValue, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, values
concat, drop, dropWhile, filter, flatMap, fold, foldUntil, hash, head, iterator, map, precat, take, takeWhile, toString
forEach, spliterator
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
MutableMap<K,V> assoc(K key, V val)
default MutableMap<K,V> assoc(Map.Entry<K,V> entry)
default MutableSet<Map.Entry<K,V>> entrySet()
BaseMap
default MutableSet<K> keySet()
Copyright © 2017. All rights reserved.