Serializable
, Map<K,V>
UnmodifiableMutableMap
, UnmodifiableSortedMap
public class UnmodifiableMap<K,V> extends Object implements Map<K,V>, Serializable
Constructor | Description |
---|---|
UnmodifiableMap(Map<K,V> delegate) |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
boolean |
containsKey(Object key) |
|
boolean |
containsValue(Object value) |
|
Set<Map.Entry<K,V>> |
entrySet() |
|
boolean |
equals(Object o) |
|
V |
get(Object key) |
|
int |
hashCode() |
|
boolean |
isEmpty() |
|
Set<K> |
keySet() |
|
V |
put(K key,
V value) |
|
void |
putAll(Map<? extends K,? extends V> t) |
|
V |
remove(Object key) |
|
int |
size() |
|
String |
toString() |
|
Collection<V> |
values() |
compute, computeIfAbsent, computeIfPresent, entry, forEach, getOrDefault, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
public boolean equals(Object o)
public int hashCode()
Copyright © 2004–2019. All rights reserved.