Class Maps.FilteredEntrySortedMap<K,​V>

  • All Implemented Interfaces:
    java.util.Map<K,​V>, java.util.SortedMap<K,​V>
    Enclosing class:
    Maps

    private static class Maps.FilteredEntrySortedMap<K,​V>
    extends Maps.FilteredEntryMap<K,​V>
    implements java.util.SortedMap<K,​V>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) class  Maps.FilteredEntrySortedMap.SortedKeySet  
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      FilteredEntrySortedMap​(java.util.SortedMap<K,​V> unfiltered, Predicate<? super java.util.Map.Entry<K,​V>> entryPredicate)  
    • Constructor Detail

      • FilteredEntrySortedMap

        FilteredEntrySortedMap​(java.util.SortedMap<K,​V> unfiltered,
                               Predicate<? super java.util.Map.Entry<K,​V>> entryPredicate)
    • Method Detail

      • sortedMap

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

        public java.util.SortedSet<K> keySet()
        Specified by:
        keySet in interface java.util.Map<K,​V>
        Specified by:
        keySet in interface java.util.SortedMap<K,​V>
        Overrides:
        keySet in class Maps.ViewCachingAbstractMap<K,​V>
      • comparator

        public java.util.Comparator<? super K> comparator()
        Specified by:
        comparator in interface java.util.SortedMap<K,​V>
      • firstKey

        public K firstKey()
        Specified by:
        firstKey in interface java.util.SortedMap<K,​V>
      • lastKey

        public K lastKey()
        Specified by:
        lastKey in interface java.util.SortedMap<K,​V>
      • headMap

        public java.util.SortedMap<K,​V> headMap​(K toKey)
        Specified by:
        headMap in interface java.util.SortedMap<K,​V>
      • subMap

        public java.util.SortedMap<K,​V> subMap​(K fromKey,
                                                     K toKey)
        Specified by:
        subMap in interface java.util.SortedMap<K,​V>
      • tailMap

        public java.util.SortedMap<K,​V> tailMap​(K fromKey)
        Specified by:
        tailMap in interface java.util.SortedMap<K,​V>