From: Nick Burch Date: Thu, 25 Dec 2014 09:13:40 +0000 (+0000) Subject: Fix inconsistent whitespace/indents X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ce675f3456d39c8c5862fe02c8e3f0768c5ab84;p=poi.git Fix inconsistent whitespace/indents git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647884 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/ss/usermodel/CellRange.java b/src/java/org/apache/poi/ss/usermodel/CellRange.java index 9c25f870c1..4868dd8e81 100644 --- a/src/java/org/apache/poi/ss/usermodel/CellRange.java +++ b/src/java/org/apache/poi/ss/usermodel/CellRange.java @@ -22,50 +22,48 @@ import java.util.Iterator; /** * Represents a rectangular region of a {@link Sheet} - * - * @author Josh Micich */ public interface CellRange extends Iterable { + int getWidth(); + int getHeight(); - int getWidth(); - int getHeight(); - /** - * Gets the number of cells in this range. - * @return height * width - */ - int size(); + /** + * Gets the number of cells in this range. + * @return height * width + */ + int size(); /** * @return the text format of this range. Single cell ranges are formatted * like single cell references (e.g. 'A1' instead of 'A1:A1'). */ - String getReferenceText(); + String getReferenceText(); - /** - * @return the cell at relative coordinates (0,0). Never null. - */ - C getTopLeftCell(); + /** + * @return the cell at relative coordinates (0,0). Never null. + */ + C getTopLeftCell(); - /** - * @param relativeRowIndex must be between 0 and height-1 - * @param relativeColumnIndex must be between 0 and width-1 - * @return the cell at the specified coordinates. Never null. - */ - C getCell(int relativeRowIndex, int relativeColumnIndex); - /** - * @return a flattened array of all the cells in this {@link CellRange} - */ - C[] getFlattenedCells(); - /** - * @return a 2-D array of all the cells in this {@link CellRange}. The first - * array dimension is the row index (values 0...height-1) - * and the second dimension is the column index (values 0...width-1) - */ - C[][] getCells(); + /** + * @param relativeRowIndex must be between 0 and height-1 + * @param relativeColumnIndex must be between 0 and width-1 + * @return the cell at the specified coordinates. Never null. + */ + C getCell(int relativeRowIndex, int relativeColumnIndex); + /** + * @return a flattened array of all the cells in this {@link CellRange} + */ + C[] getFlattenedCells(); + /** + * @return a 2-D array of all the cells in this {@link CellRange}. The first + * array dimension is the row index (values 0...height-1) + * and the second dimension is the column index (values 0...width-1) + */ + C[][] getCells(); - /** - * @return an {@link Iterator} over all cells in this range. Iteration starts - * with all cells in the first row followed by all cells in the next row, etc. - */ - Iterator iterator(); + /** + * @return an {@link Iterator} over all cells in this range. Iteration starts + * with all cells in the first row followed by all cells in the next row, etc. + */ + Iterator iterator(); }