final double[] doaTrimmed = new double[j]; System.arraycopy( doa, 0, doaTrimmed, 0, j ); return doaTrimmed;
return doa;
	public final double[] asPrimitiveDoubleValues( ) throws ChartException	{		final int iCount = dpha.length;		final double[] doa = new double[iCount];		Object o;		int j = 0;		for ( int i = 0; i < iCount; i++ )		{			o = dpha[i].getOrthogonalValue( );			if ( o instanceof Double )			{				doa[j++] = ( (Double) o ).doubleValue( );			}			else if ( o == null )			{				continue;			}			else			{				throw new ChartException( ChartEnginePlugin.ID,						ChartException.DATA_FORMAT,						"exception.dataset.non.numerical.to.numerical", //$NON-NLS-1$						new Object[]{							o						},						ResourceBundle.getBundle( Messages.ENGINE,								pwoa.getRunTimeContext( ).getLocale( ) ) );			}		}		final double[] doaTrimmed = new double[j];		System.arraycopy( doa, 0, doaTrimmed, 0, j );		return doaTrimmed;	}