private String getConvertedOrthogonalSampleDataRepresentation(String sOldRepresentation) { 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(); if (value < 0) {  value = 4.0 + iValueCount; iValueCount++; } } catch (ParseException e ) { value = 4.0 + iValueCount; iValueCount++; }  sbNewRepresentation.append("H"); sbNewRepresentation.append(String.valueOf(value + 2)); sbNewRepresentation.append(" ");
private String getConvertedOrthogonalSampleDataRepresentation( String sOldRepresentation ) { 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( ); if ( value < 0 ) {  value = 4.0 + iValueCount; iValueCount++; } } catch ( ParseException e ) { value = 4.0 + iValueCount; iValueCount++; }
    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();                if (value < 0)                {                    // If the value is negative, use an arbitrary positive value                    value = 4.0 + iValueCount;                    iValueCount++;                }            }            catch (ParseException e )            {                value = 4.0 + iValueCount;                iValueCount++;            }                        sbNewRepresentation.append("H"); //$NON-NLS-1$            sbNewRepresentation.append(String.valueOf(value + 2));            sbNewRepresentation.append(" "); //$NON-NLS-1$            sbNewRepresentation.append(" L"); //$NON-NLS-1$            sbNewRepresentation.append(String.valueOf(value -1));            sbNewRepresentation.append(" "); //$NON-NLS-1$            sbNewRepresentation.append(" O"); //$NON-NLS-1$            sbNewRepresentation.append(String.valueOf(value));            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);    }