Class AbstractSortedMap<K,​V>

    • Constructor Detail

      • AbstractSortedMap

        public AbstractSortedMap()
    • Method Detail

      • from

        @NotNull
        public @NotNull SortedMap<K,​V> from​(@NotNull
                                                  K key,
                                                  boolean inclusive)
        Description copied from interface: SortedMap
        Returns the bottom of the map starting from the key specified.
        Specified by:
        from in interface SortedMap<K,​V>
        inclusive - if true, the key will be included in the result, otherwise it will be excluded
      • to

        @NotNull
        public @NotNull SortedMap<K,​V> to​(@NotNull
                                                K key,
                                                boolean inclusive)
        Description copied from interface: SortedMap
        Returns the top of the map up until the key specified.
        Specified by:
        to in interface SortedMap<K,​V>
        inclusive - if true, the key will be included in the result, otherwise it will be excluded
      • asSortedMap

        @NotNull
        public java.util.SortedMap<K,​V> asSortedMap()
        Description copied from interface: SortedMap
        Returns an immutable view of this map as an instance of java.util.SortedMap.
        Specified by:
        asSortedMap in interface SortedMap<K,​V>