java.util
Class HashMap
java.lang.Object
|
+--java.util.HashMap
- All Implemented Interfaces:
- Map
- Direct Known Subclasses:
- LinkedHashMap
- public class HashMap
- extends Object
- implements Map
HashMap
public HashMap()
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
get
public Object get(Object key)
- Specified by:
get
in interface Map
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map
size
public int size()
- Specified by:
size
in interface Map
keySet
public Set keySet()
- Specified by:
keySet
in interface Map