方法
//根据Map中的key对Map的Entry(key-value)进行排序,注意这里如果采用不同的Comparator策略,那么
Comparator<? super K> comparator();
//给句给定的key范围对这一部分的key-value进行排序
SortedMap<K,V> subMap(K fromKey, K toKey);
//
SortedMap<K,V> tailMap(K fromKey);
//返回Map中第一个(或者说可以最小的)那个key
K firstKey();
//返回Map中最后一个(或者说可以最高的)那个key
K lastKey();
//返回SortedMap中所有key-value的key的Set集合
Set<K> keySet();
//返回SortedMap中所有key-value的value的Collection集合
Collection<V> values();
//将SortMap转换成Set集合
Set<Map.Entry<K, V>> entrySet();