.Net | Java | |
按插入键值对的先后顺序排列 |
OrderedDictionary<Key,Val> ListDictionary |
LinkedHashMap<Key,Val> |
按Key的大小排列 |
SortedDictionary<Key,Val> SortedList<Key,Val> |
TreeMap<Key,Val> |
排序不确定,因为HashCode值不确定 |
Hashtable Dictionary<Key,Val> |
HashMap<Key,Val> |