@GwtIncompatible(value="java.lang.reflect") final class ClojurePersistentHashMap<K,V> extends PersistentMap<K,V>
Modifier and Type | Field and Description |
---|---|
private static java.lang.reflect.Method |
assoc |
private java.util.Map |
map |
private static java.lang.reflect.Method |
without |
Modifier | Constructor and Description |
---|---|
private |
ClojurePersistentHashMap(java.util.Map m) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(java.lang.Object key) |
static <K,V> PersistentMap<K,V> |
create(java.lang.Class<? extends java.util.Map> cls) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
boolean |
equals(java.lang.Object o) |
V |
get(java.lang.Object key) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.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
private static java.lang.reflect.Method assoc
private static java.lang.reflect.Method without
private final java.util.Map map
public static <K,V> PersistentMap<K,V> create(java.lang.Class<? extends java.util.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 V get(java.lang.Object key)
public java.util.Set<K> keySet()
public boolean containsKey(java.lang.Object key)
public int size()
public boolean isEmpty()
public boolean equals(java.lang.Object o)