Package org.ojalgo.series
Class SimpleSeries<K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<V>>
- java.lang.Object
-
- org.ojalgo.series.TreeSeries<K,V,SimpleSeries<K,V>>
-
- org.ojalgo.series.SimpleSeries<K,V>
-
- All Implemented Interfaces:
java.util.Map<K,V>
,java.util.NavigableMap<K,V>
,java.util.SortedMap<K,V>
,BasicSeries<K,V>
public final class SimpleSeries<K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<V>> extends TreeSeries<K,V,SimpleSeries<K,V>>
-
-
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
-
-
Constructor Summary
Constructors Constructor Description SimpleSeries()
SimpleSeries(java.util.NavigableMap<K,V> delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<V>>
SimpleSeries<K,V>copy(java.util.Map<? extends K,? extends V> entries)
BasicSeries<K,V>
resample(java.util.function.UnaryOperator<K> keyTranslator)
static <K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<V>>
SimpleSeries<K,V>wrap(java.util.NavigableMap<K,V> delegate)
-
Methods inherited from class org.ojalgo.series.TreeSeries
appendLastPartToString, ceilingEntry, ceilingKey, clear, colour, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, equals, firstEntry, firstKey, floorEntry, floorKey, forEach, get, get, getColour, getName, getOrDefault, hashCode, headMap, headMap, higherEntry, higherKey, isEmpty, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, name, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, setColour, setName, size, subMap, subMap, tailMap, tailMap, toString, toStringFirstPart, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ojalgo.series.BasicSeries
asPrimitive, complete, doubleValue, firstValue, lastValue, put, put, putAll, resample
-
-
-
-
Method Detail
-
copy
public static <K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<V>> SimpleSeries<K,V> copy(java.util.Map<? extends K,? extends V> entries)
-
wrap
public static <K extends java.lang.Comparable<? super K>,V extends java.lang.Comparable<V>> SimpleSeries<K,V> wrap(java.util.NavigableMap<K,V> delegate)
-
resample
public BasicSeries<K,V> resample(java.util.function.UnaryOperator<K> keyTranslator)
-
-