Code example for SortedMap

Methods: comparator

0
    public Object lastKey() {
        return getSortedMap().lastKey();
    } 
 
    public Comparator comparator() {
        return getSortedMap().comparator();
    } 
 
    public SortedMap subMap(Object fromKey, Object toKey) {
        SortedMap map = getSortedMap().subMap(fromKey, toKey);
        return new TransformedSortedMap(map, keyTransformer, valueTransformer);
    } 
 
    public SortedMap headMap(Object toKey) {
        SortedMap map = getSortedMap().headMap(toKey);
        return new TransformedSortedMap(map, keyTransformer, valueTransformer);
    } 
 
    public SortedMap tailMap(Object fromKey) {
        SortedMap map = getSortedMap().tailMap(fromKey);
Contextual code suggestions in your IDE  Get Codota for Java