Class AbstractMapBasedMultimap.SortedKeySet

    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      SortedKeySet​(java.util.SortedMap<K,​java.util.Collection<V>> subMap)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Comparator<? super K> comparator()  
      K first()  
      java.util.SortedSet<K> headSet​(K toElement)  
      K last()  
      (package private) java.util.SortedMap<K,​java.util.Collection<V>> sortedMap()  
      java.util.SortedSet<K> subSet​(K fromElement, K toElement)  
      java.util.SortedSet<K> tailSet​(K fromElement)  
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
      • Methods inherited from interface java.util.SortedSet

        spliterator
    • Constructor Detail

      • SortedKeySet

        SortedKeySet​(java.util.SortedMap<K,​java.util.Collection<V>> subMap)
    • Method Detail

      • sortedMap

        java.util.SortedMap<K,​java.util.Collection<V>> sortedMap()
      • comparator

        @CheckForNull
        public java.util.Comparator<? super K> comparator()
        Specified by:
        comparator in interface java.util.SortedSet<K>
      • first

        public K first()
        Specified by:
        first in interface java.util.SortedSet<K>
      • headSet

        public java.util.SortedSet<K> headSet​(K toElement)
        Specified by:
        headSet in interface java.util.SortedSet<K>
      • last

        public K last()
        Specified by:
        last in interface java.util.SortedSet<K>
      • subSet

        public java.util.SortedSet<K> subSet​(K fromElement,
                                             K toElement)
        Specified by:
        subSet in interface java.util.SortedSet<K>
      • tailSet

        public java.util.SortedSet<K> tailSet​(K fromElement)
        Specified by:
        tailSet in interface java.util.SortedSet<K>