public final class CalendarDateSeries<N extends Number> extends TreeMap<K,N> implements BasicSeries.NaturallySequenced<CalendarDate,N>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,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.LongIndex, Structure1D.LoopCallback
CALENDAR, CALENDAR_DATE, DATE, INSTANT, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, OFFSET_DATE_TIME, ZONED_DATE_TIME
Constructor and Description |
---|
CalendarDateSeries() |
CalendarDateSeries(CalendarDateUnit resolution) |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, remove, replace, replace, replaceAll, size, values
equals, hashCode, isEmpty
finalize, getClass, notify, notifyAll, wait, wait, wait
asPrimitive, complete, count
colour, coordinate, doubleValue, findEarliestFirstKey, findEarliestLastKey, findLatestFirstKey, findLatestLastKey, firstValue, getColour, getName, lastValue, make, make, make, make, name, putAll
comparator, entrySet, firstKey, keySet, lastKey, values
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size
asCollectable1D, asPrimitive1D, axpy, dot, elements, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
loopAll, loopMatching, loopRange, mapper
forEach, spliterator
public CalendarDateSeries()
public CalendarDateSeries(CalendarDateUnit resolution)
public double doubleValue(long index)
doubleValue
in interface Access1D<N extends Number>
public N get(CalendarDate key)
get
in interface BasicSeries<CalendarDate,N extends Number>
public long getAverageStepSize()
public long[] getPrimitiveKeys()
public ExplicitTimeSeries getPrimitiveTimeSeries()
public CalendarDateUnit getResolution()
public CalendarDateSeries<N> headMap(CalendarDate newToKey)
headMap
in interface NavigableMap<CalendarDate,N extends Number>
headMap
in interface SortedMap<CalendarDate,N extends Number>
headMap
in class TreeMap<CalendarDate,N extends Number>
public CalendarDateSeries<N> headMap(CalendarDate newToKey, boolean newInclusive)
headMap
in interface NavigableMap<CalendarDate,N extends Number>
headMap
in class TreeMap<CalendarDate,N extends Number>
public Structure1D.IndexMapper<CalendarDate> mapper()
mapper
in interface BasicSeries.NaturallySequenced<CalendarDate,N extends Number>
public CalendarDate nextKey()
nextKey
in interface BasicSeries.NaturallySequenced<CalendarDate,N extends Number>
SortedMap.lastKey()
, key.public double put(CalendarDate key, double value)
put
in interface BasicSeries<CalendarDate,N extends Number>
BasicSeries.put(java.lang.Comparable, double)
public N put(CalendarDate key, N value)
BasicSeries
Map
.put
in interface Map<CalendarDate,N extends Number>
put
in interface BasicSeries<CalendarDate,N extends Number>
put
in class TreeMap<CalendarDate,N extends Number>
Map.put(java.lang.Object, java.lang.Object)
public double put(long index, double value)
put
in interface BasicSeries.NaturallySequenced<CalendarDate,N extends Number>
public N put(long index, N value)
put
in interface BasicSeries.NaturallySequenced<CalendarDate,N extends Number>
public void putAll(Map<? extends CalendarDate,? extends N> data)
putAll
in interface Map<CalendarDate,N extends Number>
putAll
in class TreeMap<CalendarDate,N extends Number>
public CalendarDateSeries<N> resample(CalendarDate firstKey, CalendarDate lastKey, CalendarDate.Resolution resolution)
resample
in interface BasicSeries.NaturallySequenced<CalendarDate,N extends Number>
public CalendarDateSeries<N> resample(CalendarDate.Resolution resolution)
resample
in interface BasicSeries.NaturallySequenced<CalendarDate,N extends Number>
public CalendarDate step(CalendarDate key)
step
in interface BasicSeries.NaturallySequenced<CalendarDate,N extends Number>
public CalendarDateSeries<N> subMap(CalendarDate fromKey, boolean inclusiveFromKey, CalendarDate toKey, boolean inclusiveToKey)
subMap
in interface NavigableMap<CalendarDate,N extends Number>
subMap
in class TreeMap<CalendarDate,N extends Number>
public CalendarDateSeries<N> subMap(CalendarDate fromKey, CalendarDate keyLimit)
subMap
in interface NavigableMap<CalendarDate,N extends Number>
subMap
in interface SortedMap<CalendarDate,N extends Number>
subMap
in class TreeMap<CalendarDate,N extends Number>
public CalendarDateSeries<N> tailMap(CalendarDate fromKey)
tailMap
in interface NavigableMap<CalendarDate,N extends Number>
tailMap
in interface SortedMap<CalendarDate,N extends Number>
tailMap
in class TreeMap<CalendarDate,N extends Number>
public CalendarDateSeries<N> tailMap(CalendarDate fromKey, boolean inclusive)
tailMap
in interface NavigableMap<CalendarDate,N extends Number>
tailMap
in class TreeMap<CalendarDate,N extends Number>
public String toString()
public PrimitiveSeries asPrimitive()
asPrimitive
in interface BasicSeries<K extends Comparable<? super K>,N extends Number>
public I colour(ColourData colour)
colour
in interface BasicSeries<K extends Comparable<? super K>,N extends Number>
public final double doubleValue(K key)
doubleValue
in interface BasicSeries<K extends Comparable<? super K>,N extends Number>
public N firstValue()
firstValue
in interface BasicSeries<K extends Comparable<? super K>,N extends Number>
public ColourData getColour()
getColour
in interface BasicSeries<K extends Comparable<? super K>,N extends Number>
public String getName()
getName
in interface BasicSeries<K extends Comparable<? super K>,N extends Number>
public N lastValue()
lastValue
in interface BasicSeries<K extends Comparable<? super K>,N extends Number>
public I name(String name)
name
in interface BasicSeries<K extends Comparable<? super K>,N extends Number>
Copyright © 2018 Optimatika. All rights reserved.