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
|
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
default ImMap<K,V> assoc(Map.Entry<K,V> entry)
default ImSet<Map.Entry<K,V>> entrySet()
MutableMap<K,V> mutable()
Copyright © 2017. All rights reserved.