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)

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

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: 184 / 224
Referenced in: [show references]