K - the type of the keys in this mapV - the type of the values in this mappublic interface Get<K,V>
Map interface.Put| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<V> |
values() |
boolean containsKey(java.lang.Object key)
key - key whose presence in this map is to be testedtrue if this map contains a mapping for the specified
keyMap.containsKey(Object)boolean containsValue(java.lang.Object value)
value - value whose presence in this map is to be testedtrue if this map maps one or more keys to the
specified valueMap.containsValue(Object)java.util.Set<java.util.Map.Entry<K,V>> entrySet()
Map.entrySet()V get(java.lang.Object key)
key - the key whose associated value is to be returnednull if this map contains no mapping for the keyMap.get(Object)V remove(java.lang.Object key)
key - key whose mapping is to be removed from the mapkey, or
null if there was no mapping for key.Map.remove(Object)boolean isEmpty()
true if this map contains no key-value mappingsMap.isEmpty()java.util.Set<K> keySet()
Map.keySet()int size()
Map.size()java.util.Collection<V> values()
Map.values()Copyright © 2010 - 2023 Adobe. All Rights Reserved