StringTokenizer strtok = new StringTokenizer( sOldRepresentation, "," ); NumberFormat nf = NumberFormat.getNumberInstance( ); StringBuffer sbNewRepresentation = new StringBuffer( "" ); int iValueCount = 0; while ( strtok.hasMoreTokens( ) ) { String sElement = strtok.nextToken( ).trim( ); double value; try { value = nf.parse( sElement ).doubleValue( ); } catch ( ParseException e ) { value = 4.0 + iValueCount; iValueCount++; }  sbNewRepresentation.append( "H" ); sbNewRepresentation.append( String.valueOf( value ) ); sbNewRepresentation.append( " " );  sbNewRepresentation.append( " L" ); sbNewRepresentation.append( String.valueOf( value - 3 ) ); sbNewRepresentation.append( " " );  sbNewRepresentation.append( " O" ); sbNewRepresentation.append( String.valueOf( value - 2 ) ); sbNewRepresentation.append( " " );  sbNewRepresentation.append( " C" ); sbNewRepresentation.append( String.valueOf( value - 1 ) ); sbNewRepresentation.append( "," ); } return sbNewRepresentation.toString( ).substring( 0, sbNewRepresentation.length( ) - 1 );
return sOldRepresentation;
	private String getConvertedOrthogonalSampleDataRepresentation(			String sOldRepresentation )	{		StringTokenizer strtok = new StringTokenizer( sOldRepresentation, "," ); //$NON-NLS-1$		NumberFormat nf = NumberFormat.getNumberInstance( );		StringBuffer sbNewRepresentation = new StringBuffer( "" ); //$NON-NLS-1$		int iValueCount = 0;		while ( strtok.hasMoreTokens( ) )		{			String sElement = strtok.nextToken( ).trim( );			double value;			try			{				value = nf.parse( sElement ).doubleValue( );			}			catch ( ParseException e )			{				value = 4.0 + iValueCount;				iValueCount++;			}			sbNewRepresentation.append( "H" ); //$NON-NLS-1$			sbNewRepresentation.append( String.valueOf( value ) );			sbNewRepresentation.append( " " ); //$NON-NLS-1$			sbNewRepresentation.append( " L" ); //$NON-NLS-1$			sbNewRepresentation.append( String.valueOf( value - 3 ) );			sbNewRepresentation.append( " " ); //$NON-NLS-1$			sbNewRepresentation.append( " O" ); //$NON-NLS-1$			sbNewRepresentation.append( String.valueOf( value - 2 ) );			sbNewRepresentation.append( " " ); //$NON-NLS-1$			sbNewRepresentation.append( " C" ); //$NON-NLS-1$			sbNewRepresentation.append( String.valueOf( value - 1 ) );			sbNewRepresentation.append( "," ); //$NON-NLS-1$		}		return sbNewRepresentation.toString( ).substring( 0,				sbNewRepresentation.length( ) - 1 );	}