HashMap - Java

Constructor

HashMap<K,​V>

HashMap()

Map<K,V> oneMap = newHashMap<K,V>();

Method

V put​(K key, V value) 添加一个Map联系