Class DataSetIterator

java.lang.Object
org.eclipse.birt.chart.computation.DataSetIterator
All Implemented Interfaces:
Iterator

public final class DataSetIterator extends Object implements Iterator
An immutable class with convenience methods provided to retrieve data from the dataset
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Returns:
    • nextPrimitiveDouble

      public double nextPrimitiveDouble()
      Returns:
    • nextDouble

      public Double nextDouble()
      Returns:
    • nextBigNumber

      public org.eclipse.birt.chart.util.BigNumber nextBigNumber()
    • nextNumber

      public Number nextNumber()
    • nextDateTime

      public com.ibm.icu.util.Calendar nextDateTime()
      Returns:
    • nextText

      public String nextText()
      Returns:
    • nextObject

      public Object nextObject()
      Returns:
    • nextPrimitiveDateTime

      public com.ibm.icu.util.Calendar nextPrimitiveDateTime()
      Returns:
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator
      Returns:
    • next

      public Object next()
      Specified by:
      next in interface Iterator
      Returns:
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator
    • size

      public int size()
      Returns:
    • reset

      public void reset()
    • first

      public Object first()
      Returns:
    • last

      public Object last()
      Returns:
    • clear

      public void clear()
      Frees all references to data held internally in this structure
    • notifyDataUpdate

      public void notifyDataUpdate()
    • getDataType

      public int getDataType()
      Returns:
    • getIndex

      public int getIndex()
      Returns:
      current index
    • reverse

      public void reverse(boolean bReverse)
      Reverses the series categories.
      Parameters:
      bReverse -
    • skip

      public int skip(int iCount)
      Skips the next iCount rows
      Parameters:
      iCount -
      Returns:
      number of actually skipped rows