org.eclipse.birt.chart.computation
Class DataSetIterator
java.lang.Object
org.eclipse.birt.chart.computation.DataSetIterator
- All Implemented Interfaces:
- java.util.Iterator
- public final class DataSetIterator
- extends java.lang.Object
- implements java.util.Iterator
An immutable class with convenience methods provided to retrieve data from
the dataset
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSetIterator
public DataSetIterator(java.lang.Double[] dda)
- Throws:
UnexpectedInputException
DataSetIterator
public DataSetIterator(java.lang.String[] sa)
- Parameters:
sa
-
DataSetIterator
public DataSetIterator(com.ibm.icu.util.Calendar[] ca)
throws ChartException
DataSetIterator
public DataSetIterator(java.lang.Object oContent,
int iDataType)
throws java.lang.IllegalArgumentException,
ChartException
- Throws:
UnexpectedInputException
java.lang.IllegalArgumentException
ChartException
DataSetIterator
public DataSetIterator(DataSet ds)
throws java.lang.IllegalArgumentException,
ChartException
- Parameters:
ds
-
- Throws:
UnexpectedInputException
java.lang.IllegalArgumentException
ChartException
isEmpty
public final boolean isEmpty()
- Returns:
nextPrimitiveDouble
public final double nextPrimitiveDouble()
- Returns:
nextDouble
public final java.lang.Double nextDouble()
- Returns:
nextDateTime
public final com.ibm.icu.util.Calendar nextDateTime()
- Returns:
nextText
public final java.lang.String nextText()
- Returns:
nextObject
public final java.lang.Object nextObject()
- Returns:
nextPrimitiveDateTime
public final com.ibm.icu.util.Calendar nextPrimitiveDateTime()
- Returns:
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator
- Returns:
next
public final java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
- Returns:
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator
size
public int size()
- Returns:
reset
public final void reset()
first
public final java.lang.Object first()
- Returns:
last
public final java.lang.Object last()
- Returns:
clear
public final void clear()
- Frees all references to data held internally in this structure
notifyDataUpdate
public final void notifyDataUpdate()
getDataType
public final int getDataType()
- Returns:
getIndex
public final int getIndex()
- Returns:
- current index
Copyright © 2005-2007 Actuate Corp. All rights reserved.