1.TreeMap的底层是使用红黑树实现的,支持排序,实现了map接口,键值对形式。 2.构造器: public class TreeMap<K,V> extends AbstractMap<K,V> implements NavigableMap<K,V>, Cloneable, java.io.Serializable { /** * The comparator used to maintain order in this tree ma***ull if it uses the natural ordering of its keys. * * @s...