1 | static SS zipTwoTokenizationsToCIMap_strict(LS l1, LS l2) {
|
2 | int n = l(l1); |
3 | if (n != l(l2)) null; |
4 | SS map = ciMap(); |
5 | for (int i = 1; i < n; i += 2) |
6 | if (!strictPutIC(map, l1.get(i), l2.get(i))) |
7 | null; |
8 | ret map; |
9 | } |
Began life as a copy of #1021256
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: | #1025754 |
| Snippet name: | zipTwoTokenizationsToCIMap_strict - only if length matches and there are no map overwrites |
| Eternal ID of this version: | #1025754/1 |
| Text MD5: | 325cfc4f4c3034c513b854c12258d5b7 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-10-17 22:47:02 |
| Source code size: | 235 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 463 / 497 |
| Referenced in: | [show references] |