| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 593a3a8 commit 6e4044c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1816,6 +1816,7 @@ public void insertRow(int insert, Object[] columnData) { | |||
| 1816 | 1816 | /** | |
| 1817 | 1817 | * @webref table:method | |
| 1818 | 1818 | * @brief Removes a row from the table | |
| 1819 | + * @param row ID value of the row to remove | ||
| 1819 | 1820 | */ | |
| 1820 | 1821 | public void removeRow(int row) { | |
| 1821 | 1822 | for (int col = 0; col < columns.length; col++) { | |
@@ -2014,6 +2015,7 @@ protected void setRowCol(int row, int col, Object piece) { | |||
| 2014 | 2015 | /** | |
| 2015 | 2016 | * @webref table:method | |
| 2016 | 2017 | * @brief Gets a row from the table | |
| 2018 | + * @param row ID value of the row to get | ||
| 2017 | 2019 | */ | |
| 2018 | 2020 | public TableRow getRow(int row) { | |
| 2019 | 2021 | return new RowPointer(this, row); | |
@@ -2026,7 +2028,7 @@ public TableRow getRow(int row) { | |||
| 2026 | 2028 | * If you want to iterate in a multi-threaded manner, don't use the iterator. | |
| 2027 | 2029 | * | |
| 2028 | 2030 | * @webref table:method | |
| 2029 | - * @brief To come... | ||
| 2031 | + * @brief Gets multiple rows from the table | ||
| 2030 | 2032 | */ | |
| 2031 | 2033 | public Iterable<TableRow> rows() { | |
| 2032 | 2034 | return new Iterable<TableRow>() { | |
@@ -2916,14 +2918,18 @@ public int[] findRowIndices(String value, String columnName) { | |||
| 2916 | 2918 | ||
| 2917 | 2919 | /** | |
| 2918 | 2920 | * @webref table:method | |
| 2919 | - * @brief To come... | ||
| 2921 | + * @brief Finds a row that matches given criteria | ||
| 2922 | + * @param value the value to match | ||
| 2923 | + * @param column ID number of the column to search | ||
| 2920 | 2924 | */ | |
| 2921 | 2925 | public TableRow findRow(String value, int column) { | |
| 2922 | 2926 | int row = findRowIndex(value, column); | |
| 2923 | 2927 | return (row == -1) ? null : new RowPointer(this, row); | |
| 2924 | 2928 | } | |
| 2925 | 2929 | ||
| 2926 | - | ||
| 2930 | + /** | ||
| 2931 | + * @param columnName title the column to search | ||
| 2932 | + */ | ||
| 2927 | 2933 | public TableRow findRow(String value, String columnName) { | |
| 2928 | 2934 | return findRow(value, getColumnIndex(columnName)); | |
| 2929 | 2935 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments