1 | svoid addRowToTableWithSearcher(final TableSearcher ts, final Map row) { |
2 | if (ts == null) ret; |
3 | if (isTrue(callF(ts.rowTester, ts.input(), row))) swing { |
4 | // TODO: add columns if necessary |
5 | L<S> cols = tableColNames(ts.table); |
6 | O[] array = new O[l(cols)]; |
7 | for i over array: |
8 | array[i] = row.get(cols.get(i)); |
9 | getDefaultTableModel(ts.table).addRow(array); |
10 | } |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016900 |
Snippet name: | addRowToTableWithSearcher |
Eternal ID of this version: | #1016900/4 |
Text MD5: | 414c7c6a1850bb05c3e0615d75d849c3 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-07 14:03:36 |
Source code size: | 393 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 415 / 446 |
Version history: | 3 change(s) |
Referenced in: | [show references] |