K
- the type of keys maintained by this mapV
- the type of mapped valuespublic class UnmodifiableBasicMapAdapter<K,V> extends java.lang.Object implements UnmodifiableBasicMap<K,V>
EMPTY_UNMODIFIABLEBASICMAP
Constructor and Description |
---|
UnmodifiableBasicMapAdapter(java.util.Map<K,V> map) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(K key) |
V |
get(K key) |
boolean |
isEmpty() |
java.util.Iterator<V> |
iterator() |
UnmodifiableBasicSet |
keySet() |
int |
size() |
java.util.Map<K,V> |
toMap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty, isEmpty, isEmptyQuietly
public V get(K key)
get
in interface GetItemByKey<K,V>
get
in interface UnmodifiableBasicMap<K,V>
public java.util.Iterator<V> iterator()
iterator
in interface java.lang.Iterable<V>
public UnmodifiableBasicSet keySet()
keySet
in interface UnmodifiableBasicMap<K,V>
public boolean containsKey(K key)
containsKey
in interface UnmodifiableBasicMap<K,V>