public abstract class PersistentMap<K,V> extends AbstractMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PersistentMap() |
Modifier and Type | Method and Description |
---|---|
static <K,V> PersistentMap<K,V> |
create() |
static <K,V> PersistentMap<K,V> |
of(K key,
V value) |
abstract PersistentMap<K,V> |
with(K key,
V value) |
abstract PersistentMap<K,V> |
without(K key) |
clear, clone, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public abstract PersistentMap<K,V> with(K key, V value)
public abstract PersistentMap<K,V> without(K key)
public static <K,V> PersistentMap<K,V> create()
public static <K,V> PersistentMap<K,V> of(K key, V value)
Copyright © 2009–2014 Google. All rights reserved.