1 | static MultiMap<S> indexMechLists(LS listNames) { |
2 | MultiMap<S> mm = ciMultiMap(); |
3 | for unnull (S name : listNames) |
4 | for (S line : mL(name)) |
5 | mm.put(line, name); |
6 | ret mm; |
7 | } |
8 | |
9 | static MultiMap<S> indexMechLists(S... listNames) { |
10 | ret indexMechLists(asList(listNames)); |
11 | } |
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: | #1022558 |
Snippet name: | indexMechLists - ciMultiMap from line to mech list name |
Eternal ID of this version: | #1022558/2 |
Text MD5: | 8b1aeffe73c913e4a513955cc5041054 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-21 11:14:40 |
Source code size: | 288 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 260 / 293 |
Version history: | 1 change(s) |
Referenced in: | [show references] |