Libraryless. Click here for Pure Java version (2804L/17K).
1 | static MultiMap<S, Int> listMultiIndexCI(LS l) {
|
2 | MultiMap<S, Int> map = ciMultiMap(); |
3 | for i over l: |
4 | map.put(l.get(i), i); |
5 | ret map; |
6 | } |
Began life as a copy of #1022842
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028358 |
| Snippet name: | listMultiIndexCI - create case-insensitive index for string list (as MultiMap<S, Int>) |
| Eternal ID of this version: | #1028358/1 |
| Text MD5: | 8f7e54fc8fb76813cac5a3f70b56d434 |
| Transpilation MD5: | ca0bdd55b82022f6d0d0baedd521eed9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-13 13:01:56 |
| Source code size: | 147 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 373 / 496 |
| Referenced in: | [show references] |