public static interface BasicSeries.NaturallySequenced<K extends Comparable<? super K>,V extends Number> extends BasicSeries<K,V>, Access1D<V>
BasicSeries.NaturallySequenced<K extends Comparable<? super K>,V extends Number>, BasicSeries.TimeSeriesBuilder<K extends Comparable<? super K>>
Access1D.Aggregatable<N extends Number>, Access1D.Collectable<N extends Number,R extends Mutate1D.Receiver<N>>, Access1D.Elements, Access1D.ElementView<N extends Number>, Access1D.IndexOf, Access1D.Sliceable<N extends Number>, Access1D.Visitable<N extends Number>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,?>>, Structure1D.LongIndex, Structure1D.LoopCallback
CALENDAR, CALENDAR_DATE, DATE, INSTANT, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, OFFSET_DATE_TIME, ZONED_DATE_TIME
Modifier and Type | Method and Description |
---|---|
default PrimitiveSeries |
asPrimitive() |
default void |
complete()
Will fill in missing values, inbetween the first and last keys.
|
Structure1D.IndexMapper<K> |
mapper()
A natural sequence implies a bidirectional mapping between the keys and long indices.
|
default K |
nextKey() |
double |
put(long index,
double value) |
V |
put(long index,
V value) |
default int |
size() |
K |
step(K key) |
colour, coordinate, doubleValue, findEarliestFirstKey, findEarliestLastKey, findLatestFirstKey, findLatestLastKey, firstValue, get, getColour, getName, lastValue, make, make, make, make, name, put, put, putAll
comparator, entrySet, firstKey, headMap, keySet, lastKey, subMap, tailMap, values
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
asCollectable1D, asPrimitive1D, axpy, byteValue, dot, doubleValue, elements, equals, floatValue, get, hashCode, intValue, longValue, nonzeros, shortValue, supplyTo, toRawCopy1D, toString, wrap, wrap, wrap
count, index, loopAll, loopMatching, loopRange, mapper
default PrimitiveSeries asPrimitive()
asPrimitive
in interface BasicSeries<K extends Comparable<? super K>,V extends Number>
default void complete()
Structure1D.IndexMapper<K> mapper()
Structure1D.IndexMapper
specifies that mapping. Please note that
multiple instaces of the key type could correspnd to the same index, and not all long values are
valid indices. The conversions key -> index -> key may not return the original key.default K nextKey()
SortedMap.lastKey()
, key.double put(long index, double value)
default int size()
size
in interface Map<K extends Comparable<? super K>,V extends Number>
size
in interface Structure1D
Copyright © 2019 Optimatika. All rights reserved.