public class ClojurePersistentHashMap<K,V> extends PersistentMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
static <K,V> PersistentMap<K,V> |
create(Class<? extends Map> cls) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
V |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
int |
size() |
PersistentMap<K,V> |
with(K key,
V value) |
PersistentMap<K,V> |
without(K key) |
create, of
clear, clone, containsValue, put, putAll, remove, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public static <K,V> PersistentMap<K,V> create(Class<? extends Map> cls)
public PersistentMap<K,V> with(K key, V value)
with
in class PersistentMap<K,V>
public PersistentMap<K,V> without(K key)
without
in class PersistentMap<K,V>
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
containsKey
in class AbstractMap<K,V>
public int size()
public boolean isEmpty()
public boolean equals(Object o)
Copyright © 2009–2017 Google. All rights reserved.