SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.timeseries.multivariate
Class GenericTimeTimeSeries.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<T>>
          extended by com.numericalmethod.suanshu.stats.timeseries.multivariate.GenericTimeTimeSeries.Iterator
All Implemented Interfaces:
java.util.Iterator<MultiVariateTimeSeries.Entry<T>>
Enclosing class:
GenericTimeTimeSeries<T extends java.lang.Comparable<T>>

public class GenericTimeTimeSeries.Iterator
extends MultiVariateTimeSeries.Iterator<MultiVariateTimeSeries.Entry<T>>

the Iterator used to read a GenericTimeTimeSeries


Field Summary
 
Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.TimeSeries.Iterator
length, pos, ts
 
Method Summary
 MultiVariateTimeSeries.Entry<T> 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

next

public MultiVariateTimeSeries.Entry<T> 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<T extends java.lang.Comparable<T>>>
Specified by:
next in class TimeSeries.Iterator<MultiVariateTimeSeries.Entry<T extends java.lang.Comparable<T>>>
Returns:
the next entry

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<T extends java.lang.Comparable<T>>>
Returns:
the next value

SuanShu, a Java numerical and statistical library

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