Libraryless. Click here for Pure Java version (10402L/74K).
1 | svoid mapMethodLike dm_watchCollectionField(S field, Runnable onChange) { |
2 | new Dyn_FieldWatcher(dm_current_mandatory(), field, onChange, |
3 | value -> cloneListOrNull((Cl) value)); |
4 | } |
Began life as a copy of #1023013
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027788 |
Snippet name: | dm_watchCollectionField - can watch a mutable collection |
Eternal ID of this version: | #1027788/2 |
Text MD5: | 37fe5f7612036bc51d12476d659619c0 |
Transpilation MD5: | 1b576418358ad1564463e01d0d290960 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-11 20:04:19 |
Source code size: | 185 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 156 / 228 |
Version history: | 1 change(s) |
Referenced in: | [show references] |