K,V
- public class SynchronizedUnmodifiableMap<K,V>
extends java.lang.Object
implements java.util.Map<K,V>, java.io.Serializable
构造器和说明 |
---|
SynchronizedUnmodifiableMap(java.util.Map<K,V> m) |
SynchronizedUnmodifiableMap(java.util.Map<K,V> m,
java.lang.Object mutex) |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
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() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> map) |
V |
remove(java.lang.Object key) |
int |
size() |
java.lang.String |
toString() |
java.util.Collection<V> |
values() |
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
toString
在类中 java.lang.Object