Module ojalgo
Package org.ojalgo.series
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.series.BasicSeries
BasicSeries.NaturallySequenced<K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<V>>, BasicSeries.TimeSeriesBuilder<K extends java.lang.Comparable<? super K>>
-
-
Field Summary
-
Fields inherited from interface org.ojalgo.series.BasicSeries
CALENDAR, CALENDAR_DATE, DATE, INSTANT, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, OFFSET_DATE_TIME, ZONED_DATE_TIME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcomplete()Using the natural sequencing as the key incrementor.default KnextKey()Kstep(K key)Will step (increment) the key given to the next in the natural sequence.-
Methods inherited from interface org.ojalgo.series.BasicSeries
asPrimitive, colour, complete, doubleValue, firstValue, get, get, getColour, getName, lastValue, name, put, put, putAll, resample, resample, setColour, setName
-
-
-
-
Method Detail
-
complete
void complete()
Using the natural sequencing as the key incrementor.- See Also:
BasicSeries.complete(UnaryOperator)
-
nextKey
default K nextKey()
- Returns:
- The next, after the
SortedMap.lastKey(), key.
-
-