Code example for SortedMap

Methods: comparator

        this.delegate = delegate;
    public Comparator<? super K> comparator() {
        return delegate.comparator();
    public SortedMap<K, V> subMap(K fromKey, K toKey) {
        return delegate.subMap(fromKey, toKey);
    public SortedMap<K, V> headMap(K toKey) {
        return delegate.headMap(toKey);
    public SortedMap<K, V> tailMap(K fromKey) {
        return delegate.tailMap(fromKey);
Connect your IDE to all the code out there  Get Codota for Java