HashMap
@Deprecated
public class HashMap<K,V>
extends java.util.AbstractMap<K,V>
implements java.util.Map<K,V>
Constructor and Description |
---|
HashMap()
Deprecated.
|
HashMap(int capacity)
Deprecated.
|
HashMap(int capacity,
float loadFactor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
boolean |
containsKey(java.lang.Object key)
Deprecated.
|
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet()
Deprecated.
|
V |
get(java.lang.Object key)
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
java.util.Set<K> |
keySet()
Deprecated.
|
V |
put(K key,
V value)
Deprecated.
|
V |
remove(java.lang.Object key)
Deprecated.
|
int |
size()
Deprecated.
|
java.util.Collection<V> |
values()
Deprecated.
|
clone, containsValue, equals, hashCode, putAll, toString
public HashMap()
public HashMap(int capacity)
public HashMap(int capacity, float loadFactor)
public int size()
public boolean isEmpty()
public void clear()
public V get(java.lang.Object key)
public boolean containsKey(java.lang.Object key)
public V remove(java.lang.Object key)
public java.util.Set<K> keySet()
public java.util.Collection<V> values()