public void addRows(ArrayList<String> rows, String defaultValue) {
		CompactCharSequence dv = new CompactCharSequence(defaultValue);
		int oldlength = data.length;
		int numColumns = 0;
		if (data.length > 0 && data[0] != null) {
			numColumns = data[0].length;
		}
		data = (CompactCharSequence[][]) resizeArray(data, data.length + rows.size());
		for (int r = 0; r < rows.size(); r++) {
			data[oldlength + r] = new CompactCharSequence[numColumns];
			for (int c = 0; c < numColumns; c++) {
				data[oldlength + r][c] = dv;
			}
			data[oldlength + r][0] = new CompactCharSequence(rows.get(r));
			rowLookup.put(rows.get(r), new HeaderInfo(r + oldlength));
		}
	}
public void addRows ( ArrayList < String > rows , String defaultValue ) { CompactCharSequence dv = new CompactCharSequence ( defaultValue ) ; int oldlength = data . length ; int numColumns = 0 ; if ( data . length > 0 && data [ 0 ] != null ) { numColumns = data [ 0 ] . length ; } data = ( CompactCharSequence [ ] [ ] ) resizeArray ( data , data . length + rows . size ( ) ) ; for ( int r = 0 ; r < rows . size ( ) ; r ++ ) { data [ oldlength + r ] = new CompactCharSequence [ numColumns ] ; for ( int c = 0 ; c < numColumns ; c ++ ) { data [ oldlength + r ] [ c ] = dv ; } data [ oldlength + r ] [ 0 ] = new CompactCharSequence ( rows . get ( r ) ) ; rowLookup . put ( rows . get ( r ) , new HeaderInfo ( r + oldlength ) ) ; } }
Add rows to the worksheet and fill in default value

@param rows
@param defaultValue