Interface BasicSeries.NaturallySequenced<K extends java.lang.Comparable<? super K>,​V extends java.lang.Comparable<V>>

  • All Superinterfaces:
    BasicSeries<K,​V>, java.util.Map<K,​V>, java.util.SortedMap<K,​V>
    All Known Implementing Classes:
    CalendarDateSeries, MappedIndexSeries
    Enclosing interface:
    BasicSeries<K extends java.lang.Comparable<? super K>,​V extends java.lang.Comparable<V>>

    public static interface BasicSeries.NaturallySequenced<K extends java.lang.Comparable<? super K>,​V extends java.lang.Comparable<V>>
    extends BasicSeries<K,​V>
    A series with naturally sequenced keys - given any key there is a natural "next" key, e.g. with a series of daily values the natural next key is the next day.
    • Method Detail

      • nextKey

        default K nextKey()
        Returns:
        The next, after the SortedMap.lastKey(), key.
      • step

        K step​(K key)
        Will step (increment) the key given to the next in the natural sequence.