1 | static Map<S, Pair<Int>> indexTwoDArrayIC(LL<S> table) { |
2 | if (table == null) null; |
3 | Map<S, Pair<Int>> map = ciMap(); |
4 | for i over table: { |
5 | LS row = table.get(i); |
6 | for j over row: |
7 | map.put(row.get(j), pair(i, j)); |
8 | } |
9 | ret map; |
10 | } |
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: | 233 / 278 |
Referenced in: | [show references] |