Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1020909 // tableColumnNameIs

JavaX fragment (include)

sbool tableColumnNameIs(final JTable table, final int colIdx, final S colName) {
  ret swing(func -> bool {
    colIdx >= 0 && colIdx < table.getColumnCount() && eq(table.getColumnName(colIdx), colName)
  });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020909
Snippet name: tableColumnNameIs
Eternal ID of this version: #1020909/2
Text MD5: e72c843d3d4c4c71a0788de7800c818e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-09 20:56:36
Source code size: 214 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 304 / 335
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)