如果没有排序要求选择HashMap 和HashTable, 如果有排序要求可以选择TreeMap 和LinkedHashMap, TreeMap :按照key值升序排列 LinkedHashMap: 按照数据的输入顺序实现排序。