| Package | Description | 
|---|---|
| java.lang | 
 Contains core language classes. 
 | 
| java.util | 
 Contains utility classes including the collections framework and date manipulation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Map<Thread,StackTraceElement[]> | 
Thread.getAllStackTraces()
Returns a map of stack traces for all live threads. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractMap<K,V>
This class provides a skeletal implementation of the  
Map interface, to minimize the
 effort required to implement this interface. | 
class  | 
HashMap<K,V>
Hash table based implementation of the  
Map interface. | 
class  | 
Hashtable<K,V>
This class implements a hash table, which maps keys to values. 
 | 
class  | 
WeakHashMap<K,V>
Hash table based implementation of the  
Map interface, with weak keys. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Map.putAll(Map<? extends K,? extends V> m)
Copies all of the mappings from the specified map to this map (optional operation). 
 | 
void | 
WeakHashMap.putAll(Map<? extends K,? extends V> m)
Copies all of the mappings from the specified map to this map. 
 | 
void | 
HashMap.putAll(Map<? extends K,? extends V> m)
Copies all of the mappings from the specified map to this map. 
 | 
void | 
Hashtable.putAll(Map<? extends K,? extends V> t)
Copies all of the mappings from the specified map to this hashtable. 
 | 
void | 
AbstractMap.putAll(Map<? extends K,? extends V> m)
Copies all of the mappings from the specified map to this map (optional operation). 
 | 
| Constructor and Description | 
|---|
HashMap(Map<? extends K,? extends V> m)
Constructs a new  
HashMap with the same mappings as the specified Map. | 
Hashtable(Map<? extends K,? extends V> t)
Constructs a new hashtable with the same mappings as the given Map. 
 | 
WeakHashMap(Map<? extends K,? extends V> m)
Constructs a new  
WeakHashMap with the same mappings as the specified map. |