-
- All Known Implementing Classes:
HashMap,IntKeyHashMap,IntKeyHashMapConcurrent,IntKeyIntValueHashMap,IntKeyLongValueHashMap,LongKeyHashMap,LongKeyIntValueHashMap,LongKeyLongValueHashMap,MultiValueHashMap,OrderedHashMap,OrderedIntKeyHashMap,OrderedLongKeyHashMap
public interface Map<K,V>Interface for collections of mapped key - value pairs.- Since:
- 2.6.0
- Author:
- Fred Toussi (fredt@users dot sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()booleancontainsKey(java.lang.Object key)booleancontainsValue(java.lang.Object value)Set<Map.Entry<K,V>>entrySet()Vget(K key)booleanisEmpty()Set<K>keySet()Vput(K key, V value)Vremove(java.lang.Object key)intsize()Collection<V>values()
-
-
-
Method Detail
-
size
int size()
-
isEmpty
boolean isEmpty()
-
containsKey
boolean containsKey(java.lang.Object key)
-
containsValue
boolean containsValue(java.lang.Object value)
-
remove
V remove(java.lang.Object key)
-
clear
void clear()
-
values
Collection<V> values()
-
-