Package org.ojalgo.series
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.series.BasicSeries
BasicSeries.NaturallySequenced<K extends Comparable<? super K>,
V extends Comparable<V>>, BasicSeries.TimeSeriesBuilder<K extends 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
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
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
Methods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry, sequencedEntrySet, sequencedKeySet, sequencedValues
-
Method Details
-
complete
void complete()Using the natural sequencing as the key incrementor.- See Also:
-
nextKey
- Returns:
- The next, after the
SortedMap.lastKey()
, key.
-
step
Will step (increment) the key given to the next in the natural sequence.
-