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

All Superinterfaces:
BasicSeries<K,V>, Map<K,V>, SequencedMap<K,V>, SortedMap<K,V>
All Known Implementing Classes:
CalendarDateSeries, MappedIndexSeries
Enclosing interface:
BasicSeries<K extends Comparable<? super K>,V extends Comparable<V>>

public static interface BasicSeries.NaturallySequenced<K extends Comparable<? super K>,V extends 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 Details

    • complete

      void complete()
      Using the natural sequencing as the key incrementor.
      See Also:
    • 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.