public static final class PersistentHashMap.MutableHashMap<K,V> extends UnmodMap.AbstractUnmodMap<K,V> implements MutableUnsortedMap<K,V>
UnmodMap.AbstractUnmodMap<K,V>, UnmodMap.UnEntry<K,V>UnmodIterable.AbstractUnmodIterable<T>| Modifier and Type | Method and Description |
|---|---|
PersistentHashMap.MutableHashMap<K,V> |
assoc(K key,
V val)
Returns a new map with the given key/value added
|
Option<UnmodMap.UnEntry<K,V>> |
entry(K key) |
Equator<K> |
equator()
Returns the Equator used by this map for equals comparisons and hashCodes
|
PersistentHashMap<K,V> |
immutable()
Returns a immutable version of this (maybe) mutable map.
|
UnmodIterator<UnmodMap.UnEntry<K,V>> |
iterator()
A one-time use, mutable, not-thread-safe way to get each value of the underling collection in
turn.
|
int |
size()
Returns the number of items in this iterable.
|
PersistentHashMap.MutableHashMap<K,V> |
without(K key)
Returns a new map with the given key/value removed
|
equalshashCode, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitassoc, mutablekeySetcontainsKey, entrySet, get, getOrElseclear, compute, computeIfAbsent, computeIfPresent, containsValue, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, valuesequals, forEach, getOrDefault, hashCodeconcat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toStringforEach, spliteratortoImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSetpublic Equator<K> equator()
ImUnsortedMapequator in interface ImUnsortedMap<K,V>public PersistentHashMap.MutableHashMap<K,V> assoc(K key, V val)
MutableUnsortedMappublic UnmodIterator<UnmodMap.UnEntry<K,V>> iterator()
UnmodIterableiterator in interface Iterable<UnmodMap.UnEntry<K,V>>iterator in interface UnmodIterable<UnmodMap.UnEntry<K,V>>public final PersistentHashMap.MutableHashMap<K,V> without(K key)
MutableUnsortedMappublic final PersistentHashMap<K,V> immutable()
ImUnsortedMapimmutable in interface ImUnsortedMap<K,V>Copyright © 2017. All rights reserved.