public String formatAsString() {if(isWholeColumnReference()) {returnCellReference.convertNumToColString(_firstCell.getCol())+ ":" +CellReference.convertNumToColString(_lastCell.getCol());}StringBuilder sb = new StringBuilder(32);sb.append(_firstCell.formatAsString());if(!_isSingleCell) {sb.append(CELL_DELIMITER);if(_lastCell.getSheetName() == null) {sb.append(_lastCell.formatAsString());} else {_lastCell.appendCellReference(sb);}}return sb.toString();}

public String formatAsString ( ) { if ( isWholeColumnReference ( ) ) { returnCellReference . convertNumToColString ( _firstCell . getCol ( ) ) + ":" + CellReference . convertNumToColString ( _lastCell . getCol ( ) ) ; } StringBuilder sb = new StringBuilder ( 32 ) ; sb . append ( _firstCell . formatAsString ( ) ) ; if ( ! _isSingleCell ) { sb . append ( CELL_DELIMITER ) ; if ( _lastCell . getSheetName ( ) == null ) { sb . append ( _lastCell . formatAsString ( ) ) ; } else { _lastCell . appendCellReference ( sb ) ; } } return sb . toString ( ) ; }
public String FormatAsString(){if (IsWholeColumnReference()){returnCellReference.ConvertNumToColString(_firstCell.Col)+ ":" +CellReference.ConvertNumToColString(_lastCell.Col);}StringBuilder sb = new StringBuilder(32);sb.Append(_firstCell.FormatAsString());if (!_isSingleCell){sb.Append(CELL_DELIMITER);if (_lastCell.SheetName == null){sb.Append(_lastCell.FormatAsString());}else{_lastCell.AppendCellReference(sb);}}return sb.ToString();}
