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

7
LINES

< > BotCompany Repo | #1021686 // twoDIndexOfIC - index of element in two-dimensional string array (ignoring case). returns (row, col) or null

JavaX fragment (include)

1  
static Pair<Int> twoDIndexOfIC(LL<S> table, S s) {
2  
  for row over table: {
3  
    int idx = indexOfIC(table.get(row), s);
4  
    if (idx >= 0) ret pair(row, idx);
5  
  }
6  
  null;
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1021686
Snippet name: twoDIndexOfIC - index of element in two-dimensional string array (ignoring case). returns (row, col) or null
Eternal ID of this version: #1021686/1
Text MD5: 6d7779fdc28f144c25ae55114e57dd95
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-24 13:49:14
Source code size: 176 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 252 / 294
Referenced in: [show references]