public interface ImUnsortedMap<K,V> extends ImMap<K,V>
UnmodMap.AbstractUnmodMap<K,V>, UnmodMap.UnEntry<K,V>
UnmodIterable.AbstractUnmodIterable<T>
Modifier and Type | Method and Description |
---|---|
ImUnsortedMap<K,V> |
assoc(K key,
V val)
Returns a new map with the given key/value added
|
default ImUnsortedMap<K,V> |
assoc(Map.Entry<K,V> entry)
Returns a new map with an immutable copy of the given entry added
|
Equator<K> |
equator()
Returns the Equator used by this map for equals comparisons and hashCodes
|
ImUnsortedMap<K,V> |
immutable()
Returns a immutable version of this (maybe) mutable map.
|
default ImSet<K> |
keySet()
Returns a view of the keys contained in this map.
|
MutableUnsortedMap<K,V> |
mutable()
Returns a mutable version of this immutable map.
|
ImUnsortedMap<K,V> |
without(K key)
Returns a new map with the given key/value removed
|
containsKey, entry, entrySet, get, getOrElse
clear, compute, computeIfAbsent, computeIfPresent, containsValue, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, values
concat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, iterator, map, precat, take, takeWhile, toString
forEach, spliterator
toImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSet
ImUnsortedMap<K,V> assoc(K key, V val)
default ImUnsortedMap<K,V> assoc(Map.Entry<K,V> entry)
Equator<K> equator()
ImUnsortedMap<K,V> immutable()
MutableUnsortedMap<K,V> mutable()
Copyright © 2016. All rights reserved.