SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.timeseries.univariate
Class TimeSeries.Iterator<E extends TimeSeries.Entry<?>>

java.lang.Object
  extended by com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator<E>
      extended by com.numericalmethod.suanshu.stats.timeseries.univariate.TimeSeries.Iterator<E>
Type Parameters:
E - the TimeSeries.Entry type
All Implemented Interfaces:
java.util.Iterator<E>
Direct Known Subclasses:
GenericTimeTimeSeries.Iterator, OneDimensionTimeSeries.Iterator, Realization.Iterator, TimeSeries.Iterator
Enclosing interface:
TimeSeries<T>

public abstract static class TimeSeries.Iterator<E extends TimeSeries.Entry<?>>
extends TimeSeries.Iterator<E>

the Iterator to read a univariate time series


Field Summary
 
Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator
length, pos, ts
 
Constructor Summary
TimeSeries.Iterator(TimeSeries<?> ts)
           
 
Method Summary
abstract  double nextValue()
          Get the next value in the time series.
 
Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator
hasNext, next, position, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeSeries.Iterator

public TimeSeries.Iterator(TimeSeries<?> ts)
Method Detail

nextValue

public abstract double nextValue()
Get the next value in the time series.

Returns:
the next value

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.