- java.lang.Object
-
- org.ojalgo.series.primitive.PrimitiveSeries
-
- org.ojalgo.series.primitive.PrimitiveTimeSeries
-
- All Implemented Interfaces:
Access1D<java.lang.Double>,Structure1D
- Direct Known Subclasses:
ExplicitTimeSeries,ImplicitTimeSeries
public abstract class PrimitiveTimeSeries extends PrimitiveSeries
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Access1D
Access1D.Aggregatable<N extends java.lang.Comparable<N>>, Access1D.Collectable<N extends java.lang.Comparable<N>,R extends Mutate1D>, Access1D.ElementView<N extends java.lang.Comparable<N>>, Access1D.SelectionView<N extends java.lang.Comparable<N>>, Access1D.Sliceable<N extends java.lang.Comparable<N>>, Access1D.Visitable<N extends java.lang.Comparable<N>>
-
Nested classes/interfaces inherited from interface org.ojalgo.structure.Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S extends Structure1D,B extends Structure1D.Logical<S,B>>, Structure1D.LongIndex, Structure1D.LoopCallback
-
-
Field Summary
Fields Modifier and Type Field Description private PrimitiveSeriesmyValueSeries
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrimitiveTimeSeries(PrimitiveSeries valueSeries)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CalendarDatefirst()abstract longgetAverageStepSize()PrimitiveSeriesgetValueSeries()abstract long[]keys()abstract CalendarDatelast()intsize()The total number of elements in this structure.doublevalue(int index)-
Methods inherited from class org.ojalgo.series.primitive.PrimitiveSeries
add, add, copy, copy, count, differences, differences, divide, divide, doubleValue, exp, get, get, log, multiply, multiply, prune, quotients, quotients, runningProduct, runningSum, subtract, subtract, toDataSeries, toString, values, variances, wrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.ojalgo.structure.Access1D
asCollectable1D, asKeyed1D, asList, axpy, byteValue, byteValue, dot, doubleValue, elements, floatValue, floatValue, intValue, intValue, longValue, longValue, nonzeros, select, shortValue, shortValue, supplyTo, toList, toRawCopy1D
-
-
-
-
Field Detail
-
myValueSeries
private final PrimitiveSeries myValueSeries
-
-
Constructor Detail
-
PrimitiveTimeSeries
protected PrimitiveTimeSeries(PrimitiveSeries valueSeries)
-
-
Method Detail
-
first
public abstract CalendarDate first()
-
getAverageStepSize
public abstract long getAverageStepSize()
-
getValueSeries
public PrimitiveSeries getValueSeries()
-
keys
public abstract long[] keys()
-
last
public abstract CalendarDate last()
-
size
public int size()
Description copied from interface:Structure1DThe total number of elements in this structure.- Specified by:
sizein interfaceStructure1D- Specified by:
sizein classPrimitiveSeries
-
value
public double value(int index)
- Specified by:
valuein classPrimitiveSeries
-
-