SortedMap接口-Map排序的用法
SortedMap接口默认使用键值默认顺序或者通过Comparator接口实现对象作为排序依据。:
public interface SortedMapextends Map; // Map的子接口;A Map that further provides a total ordering on its keys. The map is ordered according to the natural ordering of its keys, or by a Comparator typically prov ...