public interface ImMap<K,V> extends BaseUnsortedMap<K,V>
UnmodMap.UnEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
ImMap<K,V> |
assoc(K key,
V val)
Returns a new map with the given key/value added
|
default ImMap<K,V> |
assoc(Map.Entry<K,V> entry)
Returns a new map with an immutable copy of the given entry added
|
default ImSet<Map.Entry<K,V>> |
entrySet()
Returns a view of the mappings contained in this map.
|
default ImSet<K> |
keySet()
Returns an immutable view of the keys contained in this map.
|
MutableMap<K,V> |
mutable()
Returns a mutable version of this mutable map.
|
ImMap<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, toMutableSortedSetdefault ImMap<K,V> assoc(Map.Entry<K,V> entry)
default ImSet<Map.Entry<K,V>> entrySet()
MutableMap<K,V> mutable()
Copyright © 2019. All rights reserved.