SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.timeseries.multivariate.realtime
Class SimpleMultiVariateTimeSeries.Iterator

java.lang.Object
  extended by com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator<E>
      extended by com.numericalmethod.suanshu.stats.timeseries.multivariate.MultiVariateTimeSeries.Iterator<MultiVariateTimeSeries.Entry>
          extended by com.numericalmethod.suanshu.stats.timeseries.multivariate.realtime.MultiVariateTimeSeries.Iterator
              extended by com.numericalmethod.suanshu.stats.timeseries.multivariate.realtime.SimpleMultiVariateTimeSeries.Iterator
All Implemented Interfaces:
java.util.Iterator<MultiVariateTimeSeries.Entry>
Enclosing class:
SimpleMultiVariateTimeSeries

public class SimpleMultiVariateTimeSeries.Iterator
extends MultiVariateTimeSeries.Iterator

the Iterator to read a SimpleMultiVariateTimeSeries


Field Summary
 
Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator
length, pos, ts
 
Method Summary
 MultiVariateTimeSeries.Entry next()
          Get the next entry in the time series, if any.
 Vector nextValue()
          Get the next value in the time series.
 
Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator
hasNext, position, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nextValue

public Vector nextValue()
Description copied from class: MultiVariateTimeSeries.Iterator
Get the next value in the time series.

Specified by:
nextValue in class MultiVariateTimeSeries.Iterator<MultiVariateTimeSeries.Entry>
Returns:
the next value

next

public MultiVariateTimeSeries.Entry next()
Description copied from class: TimeSeries.Iterator
Get the next entry in the time series, if any.

Specified by:
next in interface java.util.Iterator<MultiVariateTimeSeries.Entry>
Specified by:
next in class TimeSeries.Iterator<MultiVariateTimeSeries.Entry>
Returns:
the next entry

SuanShu, a Java numerical and statistical library

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