Map 2.1概述 Map接口是java定義的一種鍵值對映射的數據結構接口,其實現方式有四種:HashMap,LinkedHashMap,Hashtable,TreeMap。 2.2 HashMap 基於hash表的Map