Code example for SortedMap

Methods: comparator

0
    SortedMap<E, AtomicInteger> sortedMap() {
      return (SortedMap<E, AtomicInteger>) getMap();
    } 
 
    public Comparator<? super E> comparator() {
      return sortedMap().comparator();
    } 
 
    public E first() { 
      return sortedMap().firstKey();
    } 
 
    public E last() { 
      return sortedMap().lastKey();
    } 
 
    public SortedSet<E> headSet(E toElement) {
      return new SortedMapBasedElementSet(sortedMap().headMap(toElement));
    } 
 
Contextual code suggestions in your IDE  Get Codota for Java