public DataSetIterator( Object oContent, int iDataType ) throws IllegalArgumentException, ChartException
public DataSetIterator( Double[] dda )
	public DataSetIterator( Object oContent, int iDataType )			throws IllegalArgumentException, ChartException	{		if ( ( iDataType & IConstants.LINEAR ) == IConstants.LINEAR				|| ( iDataType & IConstants.LOGARITHMIC ) == IConstants.LOGARITHMIC )		{			iDataType = IConstants.NUMERICAL;		}		this.iDataType = iDataType;		if ( iDataType == IConstants.NUMERICAL )		{			if ( oContent instanceof Collection )			{				iContentType = IConstants.COLLECTION;				co = (Collection) oContent;			}			else if ( oContent instanceof double[] )			{				iContentType = IConstants.PRIMITIVE_ARRAY;				da = (double[]) oContent;			}			else if ( oContent instanceof Double[] )			{				iContentType = IConstants.NON_PRIMITIVE_ARRAY;				dda = (Double[]) oContent;			}		}		else if ( iDataType == IConstants.DATE_TIME )		{			if ( oContent instanceof Collection )			{				iContentType = IConstants.COLLECTION;				co = (Collection) oContent;			}			else if ( oContent instanceof long[] )			{				iContentType = IConstants.PRIMITIVE_ARRAY;				la = (long[]) oContent;				cReused = Calendar.getInstance( );			}			else if ( oContent instanceof Calendar[] )			{				iContentType = IConstants.NON_PRIMITIVE_ARRAY;				ca = (Calendar[]) oContent;			}			updateDateTimeValues( );		}		else if ( iDataType == IConstants.TEXT )		{			if ( oContent instanceof Collection )			{				iContentType = IConstants.COLLECTION;				co = (Collection) oContent;			}			else if ( oContent instanceof String[] )			{				iContentType = IConstants.NON_PRIMITIVE_ARRAY;				sa = (String[]) oContent;			}		}		else		// e.g. StockObject[]		{			if ( oContent instanceof Collection )			{				iContentType = IConstants.COLLECTION;				co = (Collection) oContent;			}			else if ( oContent instanceof Object[] )			{				iContentType = IConstants.NON_PRIMITIVE_ARRAY;				oa = (Object[]) oContent;			}			iDataType = IConstants.UNDEFINED;		}		if ( iContentType == IConstants.UNDEFINED )		{			throw new IllegalArgumentException( MessageFormat.format( ResourceBundle.getBundle( Messages.ENGINE )					.getString( "exception.process.content.type" ), //$NON-NLS-1$					new Object[]{							oContent, new Integer( iDataType )					} )			);		}		if ( co != null )		{			it = co.iterator( );		}		iRowCount = getRowCountInternal( );	}