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
|
equatorcontainsKey, entry, get, getOrElseclear, compute, computeIfAbsent, computeIfPresent, containsValue, isEmpty, keyIterator, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, valIterator, valuesconcat, drop, dropWhile, filter, flatMap, fold, foldUntil, hash, head, iterator, map, precat, take, takeWhile, toStringforEach, spliteratortoImList, toImMap, toImRrbt, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableRrbt, toMutableSet, toMutableSortedMap, toMutableSortedSetMutableMap<K,V> assoc(K key, V val)
default MutableMap<K,V> assoc(Map.Entry<K,V> entry)
default MutableSet<Map.Entry<K,V>> entrySet()
BaseMapdefault MutableSet<K> keySet()
Copyright © 2019. All rights reserved.