Package org.eclipse.collections.impl
Class UnmodifiableMap<K,V>
java.lang.Object
org.eclipse.collections.impl.UnmodifiableMap<K,V>
- All Implemented Interfaces:
Serializable
,Map<K,V>
- Direct Known Subclasses:
UnmodifiableMutableMap
,UnmodifiableSortedMap
public class UnmodifiableMap<K,V> extends Object implements Map<K,V>, Serializable
An unmodifiable view of a Map.
- See Also:
- Serialized Form
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description UnmodifiableMap(Map<K,V> delegate)
-
Method Summary
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()
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
Method Details