LinkedHashMap 可以保证插入顺序 TreeMap 自定义实现comparator,根据key排序 hash冲突的处理办法 红黑树 https://www.cnblogs.com/tianzhihensu/p/11972780.html