public final class NumberSeries<N extends Number & Comparable<N>> extends TreeMap<K,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>>
CALENDAR, CALENDAR_DATE, DATE, INSTANT, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, OFFSET_DATE_TIME, ZONED_DATE_TIME
Constructor and Description |
---|
NumberSeries() |
NumberSeries(Map<? extends N,? extends N> map) |
NumberSeries(SortedMap<N,? extends N> sortedMap) |
Modifier and Type | Method and Description |
---|---|
Access1D<N> |
accessKeys() |
Access1D<N> |
accessValues() |
PrimitiveSeries |
asPrimitive() |
I |
colour(ColourData colour) |
double |
doubleValue(K key) |
N |
firstValue() |
N |
get(long key) |
N |
get(N key) |
ColourData |
getColour() |
String |
getName() |
double |
invoke(double arg) |
N |
invoke(N arg) |
N |
lastValue() |
I |
name(String name) |
double |
put(N key,
double value) |
String |
toString() |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty
finalize, getClass, notify, notifyAll, wait, wait, wait
coordinate, findEarliestFirstKey, findEarliestLastKey, findLatestFirstKey, findLatestLastKey, make, make, make, make, 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, size
public N get(long key)
public double invoke(double arg)
public double put(N key, double value)
BasicSeries.put(Comparable, Number)
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>
public String toString()
toString
in class AbstractMap<K extends Comparable<? super K>,N extends Number>
Copyright © 2019 Optimatika. All rights reserved.