@Override
	public void process(WorkSheet worksheet, String column) {
		DescriptiveStatistics ds = new DescriptiveStatistics();
		for (String row : worksheet.getRows()) {
			try {
				Double d = Double.parseDouble(worksheet.getCell(row, column));
				ds.addValue(d);
			} catch (Exception e) {
			}
		}
		Double mean = ds.getMean();
		for (String row : worksheet.getRows()) {
			try {
				Double d = Double.parseDouble(worksheet.getCell(row, column));
				if (d < mean) {
					worksheet.addCell(row, column, "L");
				} else {
					worksheet.addCell(row, column, "H");
				}
			} catch (Exception e) {
				try {
					worksheet.addCell(row, column, "");
				} catch (Exception e1) {
				}
			}
		}
	}
@ Override public void process ( WorkSheet worksheet , String column ) { DescriptiveStatistics ds = new DescriptiveStatistics ( ) ; for ( String row : worksheet . getRows ( ) ) { try { Double d = Double . parseDouble ( worksheet . getCell ( row , column ) ) ; ds . addValue ( d ) ; } catch ( Exception e ) { } } Double mean = ds . getMean ( ) ; for ( String row : worksheet . getRows ( ) ) { try { Double d = Double . parseDouble ( worksheet . getCell ( row , column ) ) ; if ( d < mean ) { worksheet . addCell ( row , column , "L" ) ; } else { worksheet . addCell ( row , column , "H" ) ; } } catch ( Exception e ) { try { worksheet . addCell ( row , column , "" ) ; } catch ( Exception e1 ) { } } } }
@param worksheet
@param column