-
- 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 void
clear()
boolean
containsKey(java.lang.Object key)
boolean
containsValue(java.lang.Object value)
Set<Map.Entry<K,V>>
entrySet()
V
get(K key)
boolean
isEmpty()
Set<K>
keySet()
V
put(K key, V value)
V
remove(java.lang.Object key)
int
size()
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()
-
-