sbool addThingOnScreenDefinition(S md5, S text) { text = nullIfEmpty(text); SS map = thingsOnScreenDefinitions(); if (eq(map.get(md5), text)) false; mapPutOrRemove(map, md5, text); logStructure(screenClipCommentsFile(), ll(md5, text)); logQuoted(appendToFileName(screenClipCommentsFile(), ".with-dates"), "[" + localDateWithMilliseconds() + "] " + struct(ll(md5, text))); true; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015192 |
| Snippet name: | addThingOnScreenDefinition - also removes |
| Eternal ID of this version: | #1015192/10 |
| Text MD5: | e02668e8fecb5d8256b30058482b3002 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-10 20:31:51 |
| Source code size: | 406 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 663 / 703 |
| Version history: | 9 change(s) |
| Referenced in: | [show references] |