static Map<S, Pair<Int>> indexTwoDArrayIC(LL<S> table) { if (table == null) null; Map<S, Pair<Int>> map = ciMap(); for i over table: { LS row = table.get(i); for j over row: map.put(row.get(j), pair(i, j)); } ret map; }
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: | #1021687 |
| Snippet name: | indexTwoDArrayIC |
| Eternal ID of this version: | #1021687/1 |
| Text MD5: | a8ee37a224b4d30cb73e42f09de43d70 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-24 14:05:11 |
| Source code size: | 252 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 428 / 477 |
| Referenced in: | [show references] |