static S mechHashMapPut(S name, S key, S value) { SS map = mechHashMap(name); if (containsKey(map, key)) { map.put(key, value); ret editMechMap(name, map); } else ret appendToMechMap_noUniq(name, litmap(key, value)); }
Began life as a copy of #1020458
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, lnbujpyubztb, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1021664 |
Snippet name: | mechHashMapPut - add or replace entry, honor case, just append at the end |
Eternal ID of this version: | #1021664/1 |
Text MD5: | 843f0a402df009891f587856fa220d00 |
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-23 18:25:15 |
Source code size: | 243 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 274 / 359 |
Referenced in: | [show references] |