Libraryless. Click here for Pure Java version (2096L/14K).
static SS matchesToMapUsingVarList_ciMap(Matches m, LS vars) { if (m == null) null; SS map = ciMap(); int n = min(l(m.m), l(vars)); for i to n: if (!strictPutIC(map, vars.get(i), m.get(i))) null; ret map; }
Began life as a copy of #1023855
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023856 |
| Snippet name: | matchesToMapUsingVarList_ciMap - values are also case-insensitive (if var appears twice) |
| Eternal ID of this version: | #1023856/4 |
| Text MD5: | a625ef083a0fcc7a71883c67de8f679d |
| Transpilation MD5: | db73055ee4dd001116553c9dc810093c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-10 17:15:34 |
| Source code size: | 227 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 456 / 599 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |