Map java collection framework Detailed --AbstractMap

This class is mainly for HashMap such as an abstract class inheritance.

1. implement the Map interface, the basic operation is based on entrySet.

2. There is some general hashCode, equals, toString, clone methods

3. also provides two fields for keyset, values ​​acquisition traversal.

transient Set<K>        keySet;
transient Collection<V> values;

 
 

 

 

Released five original articles · won praise 0 · Views 203

Guess you like

Origin blog.csdn.net/liwei19911215/article/details/104257423