Skip to content

Commit 9c39221

Browse files
committed
update ReportPage.getCellRange() javadoc
1 parent acf28f6 commit 9c39221

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

src/main/java/org/spacious_team/table_wrapper/api/ReportPage.java

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,9 @@ default int findRow(int startRow, int endRow, Predicate<@Nullable ReportPageRow>
303303
* starting with {@code firstRowPrefix}, and ends with the row that contains a cell
304304
* starting with {@code lastRowPrefix}.
305305
*
306-
* @param firstRowFinderOffset start search from this offset
307-
* @param lastRowFinderOffset the number of rows to skip after firstRow to start the search for the last row
306+
* @param firstRowFinderOffset the offset to start searching for the first row
307+
* @param lastRowFinderOffset the number of rows to skip after the first row to start searching for the last row
308+
* (0 to start searching from the next row)
308309
*/
309310
default TableCellRange getCellRange(@Nullable String firstRowPrefix,
310311
@Nullable String lastRowPrefix,
@@ -323,8 +324,9 @@ default TableCellRange getCellRange(@Nullable String firstRowPrefix,
323324
/**
324325
* Returns a range of rows. The first and last rows are determined by a predicate.
325326
*
326-
* @param firstRowFinderOffset start search from this offset
327-
* @param lastRowFinderOffset the number of rows to skip after firstRow to start the search for the last row
327+
* @param firstRowFinderOffset the offset to start searching for the first row
328+
* @param lastRowFinderOffset the number of rows to skip after the first row to start searching for the last row
329+
* (0 to start searching from the next row)
328330
*/
329331
default TableCellRange getCellRange(@Nullable Predicate<@Nullable Object> firstRowFinder,
330332
@Nullable Predicate<@Nullable Object> lastRowFinder,
@@ -356,8 +358,9 @@ default TableCellRange getCellRange(@Nullable Predicate<@Nullable Object> firstR
356358
* Returns a range of rows. The range begins with the first row that contains a cell
357359
* starting with {@code firstRowPrefix}, range ends with empty row or last row of report page.
358360
*
359-
* @param firstRowFinderOffset start search from this offset
360-
* @param lastRowFinderOffset the number of rows to skip after firstRow to start the search for the last row
361+
* @param firstRowFinderOffset the offset to start searching for the first row
362+
* @param lastRowFinderOffset the number of rows to skip after the first row to start searching for the last row
363+
* (0 to start searching from the next row)
361364
*/
362365
default TableCellRange getCellRange(@Nullable String firstRowPrefix,
363366
int firstRowFinderOffset,
@@ -375,8 +378,9 @@ default TableCellRange getCellRange(@Nullable String firstRowPrefix,
375378
* Returns a range of rows. The first row is determined by a predicate,
376379
* range ends with empty row or last row of report page.
377380
*
378-
* @param firstRowFinderOffset start search from this offset
379-
* @param lastRowFinderOffset the number of rows to skip after firstRow to start the search for the last row
381+
* @param firstRowFinderOffset the offset to start searching for the first row
382+
* @param lastRowFinderOffset the number of rows to skip after the first row to start searching for the last row
383+
* (0 to start searching from the next row)
380384
*/
381385
default TableCellRange getCellRange(@Nullable Predicate<@Nullable Object> firstRowFinder,
382386
int firstRowFinderOffset,

0 commit comments

Comments
 (0)