org.ojalgo.series
Class TimeInMillisSeries<N extends Number>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.TreeMap<K,V>
          extended by org.ojalgo.series.TimeInMillisSeries<N>
All Implemented Interfaces:
Serializable, Cloneable, Map<Long,N>, NavigableMap<Long,N>, SortedMap<Long,N>, BasicSeries<Long,N>

Deprecated. v31

@Deprecated
public class TimeInMillisSeries<N extends Number>
extends TreeMap<K,V>

TimeInMillisSeries

Author:
apete
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
TimeInMillisSeries()
          Deprecated.  
TimeInMillisSeries(BasicTimeSeries<K,N> aTimeSeries)
          Deprecated.  
TimeInMillisSeries(Comparator<? super Long> aComparator)
          Deprecated.  
TimeInMillisSeries(Map<? extends Long,? extends N> aMap)
          Deprecated.  
TimeInMillisSeries(SortedMap<Long,? extends N> aSortedMap)
          Deprecated.  
 
Method Summary
 I colour(Color aPaint)
           
 V firstValue()
           
 long getAverageStepSize()
          Deprecated.  
 Color getColour()
           
 DataSeries getDataSeries()
           
 String getName()
           
 double[] getPrimitiveValues()
           
 V lastValue()
           
 void modify(BasicSeries<K,V> aLeftArg, BinaryFunction<V> aFunc)
           
 void modify(BinaryFunction<V> aFunc, BasicSeries<K,V> aRightArg)
           
 void modify(BinaryFunction<V> aFunc, V aRightArg)
           
 void modify(ParameterFunction<V> aFunc, int aParam)
           
 void modify(UnaryFunction<V> aFunc)
           
 void modify(V aLeftArg, BinaryFunction<V> aFunc)
           
 I name(String aName)
           
 void setColour(Color aPaint)
           
 void setName(String aName)
           
 CalendarSeries<N> toCalendarSeries()
          Deprecated.  
 DateSeries<N> toDateSeries()
          Deprecated.  
 String toString()
           
 
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, size, subMap, subMap, tailMap, tailMap, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.SortedMap
comparator, entrySet, firstKey, headMap, keySet, lastKey, subMap, tailMap, values
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size
 

Constructor Detail

TimeInMillisSeries

public TimeInMillisSeries()
Deprecated. 

TimeInMillisSeries

public TimeInMillisSeries(BasicTimeSeries<K,N> aTimeSeries)
Deprecated. 

TimeInMillisSeries

public TimeInMillisSeries(Comparator<? super Long> aComparator)
Deprecated. 

TimeInMillisSeries

public TimeInMillisSeries(Map<? extends Long,? extends N> aMap)
Deprecated. 

TimeInMillisSeries

public TimeInMillisSeries(SortedMap<Long,? extends N> aSortedMap)
Deprecated. 
Method Detail

getAverageStepSize

public long getAverageStepSize()
Deprecated. 
Returns:
The average number of millis between to subsequent keys in the series.

toCalendarSeries

public CalendarSeries<N> toCalendarSeries()
Deprecated. 

toDateSeries

public DateSeries<N> toDateSeries()
Deprecated. 

colour

public I colour(Color aPaint)
Specified by:
colour in interface BasicSeries<K extends Comparable<K>,V extends Number>

firstValue

public V firstValue()
Specified by:
firstValue in interface BasicSeries<K extends Comparable<K>,V extends Number>

getColour

public Color getColour()
Specified by:
getColour in interface BasicSeries<K extends Comparable<K>,V extends Number>

getDataSeries

public DataSeries getDataSeries()
Specified by:
getDataSeries in interface BasicSeries<K extends Comparable<K>,V extends Number>

getName

public String getName()
Specified by:
getName in interface BasicSeries<K extends Comparable<K>,V extends Number>

getPrimitiveValues

public double[] getPrimitiveValues()
Specified by:
getPrimitiveValues in interface BasicSeries<K extends Comparable<K>,V extends Number>

lastValue

public V lastValue()
Specified by:
lastValue in interface BasicSeries<K extends Comparable<K>,V extends Number>

modify

public void modify(BasicSeries<K,V> aLeftArg,
                   BinaryFunction<V> aFunc)
Specified by:
modify in interface BasicSeries<K extends Comparable<K>,V extends Number>

modify

public void modify(BinaryFunction<V> aFunc,
                   BasicSeries<K,V> aRightArg)
Specified by:
modify in interface BasicSeries<K extends Comparable<K>,V extends Number>

modify

public void modify(BinaryFunction<V> aFunc,
                   V aRightArg)
Specified by:
modify in interface BasicSeries<K extends Comparable<K>,V extends Number>

modify

public void modify(ParameterFunction<V> aFunc,
                   int aParam)
Specified by:
modify in interface BasicSeries<K extends Comparable<K>,V extends Number>

modify

public void modify(UnaryFunction<V> aFunc)
Specified by:
modify in interface BasicSeries<K extends Comparable<K>,V extends Number>

modify

public void modify(V aLeftArg,
                   BinaryFunction<V> aFunc)
Specified by:
modify in interface BasicSeries<K extends Comparable<K>,V extends Number>

name

public I name(String aName)
Specified by:
name in interface BasicSeries<K extends Comparable<K>,V extends Number>

setColour

public void setColour(Color aPaint)
Specified by:
setColour in interface BasicSeries<K extends Comparable<K>,V extends Number>

setName

public void setName(String aName)
Specified by:
setName in interface BasicSeries<K extends Comparable<K>,V extends Number>

toString

public String toString()
Overrides:
toString in class AbstractMap<K extends Comparable<K>,V extends Number>