Libraryless. Click here for Pure Java version (2964L/19K).
1 | static Collection mapMethodLike dm_resetField_union(S field, O mod) { |
2 | mod = dm_getModule(mod); |
3 | if (mod == null) null; |
4 | Collection value = cast dm_originalFieldValue(field, mod); |
5 | Collection l = cast dm_getOpt(mod, field); |
6 | setAddAll(l, value); |
7 | ret l; |
8 | } |
Began life as a copy of #1023947
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, yanjaxplzisb
No comments. add comment
Snippet ID: | #1024028 |
Snippet name: | dm_resetField_union - set-merge lists |
Eternal ID of this version: | #1024028/4 |
Text MD5: | 9e27c492e6a476d91d826e0b1200b3bc |
Transpilation MD5: | 61bc2e1ae7694a1850f41ce49c42bb81 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-17 21:29:53 |
Source code size: | 268 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 202 / 291 |
Version history: | 3 change(s) |
Referenced in: | [show references] |