public abstract class UnmodifiableMap<K,V> extends MapWrapper<K,V>
| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Throws
UnsupportedOperationException. |
abstract MapSet<K,V> |
entrySet() |
Set<K> |
keySet()
Throws
UnsupportedOperationException. |
static <K,V> UnmodifiableMap<K,V> |
proxy(Map<K,V> m) |
V |
put(K k,
V v)
Throws
UnsupportedOperationException. |
void |
putAll(Map<? extends K,? extends V> m)
Throws
UnsupportedOperationException. |
V |
remove(Object o)
Throws
UnsupportedOperationException. |
Collection<V> |
values() |
containsKey, containsValue, equals, get, hashCode, isEmpty, size, toString, wrappedclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static <K,V> UnmodifiableMap<K,V> proxy(Map<K,V> m)
public Collection<V> values()
public void clear()
UnsupportedOperationException.public Set<K> keySet()
UnsupportedOperationException.public V put(K k, V v)
UnsupportedOperationException.public void putAll(Map<? extends K,? extends V> m)
UnsupportedOperationException.Copyright (c) 2006 C. Scott Ananian