Code example for SortedMap

Methods: comparator

0
        return (SortedMap<K, V>) map;
    } 
 
    //----------------------------------------------------------------------- 
    public Comparator<? super K> comparator() {
        return getSortedMap().comparator();
    } 
 
    public K firstKey() { 
        return getSortedMap().firstKey();
    } 
 
    public SortedMap<K, V> headMap(K toKey) {
        return getSortedMap().headMap(toKey);
    } 
 
    public K lastKey() { 
        return getSortedMap().lastKey();
    } 
 
Experience pair programming with AI  Get Codota for Java