Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1027788 // dm_watchCollectionField - can watch a mutable collection

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10402L/74K).

svoid mapMethodLike dm_watchCollectionField(S field, Runnable onChange) {
  new Dyn_FieldWatcher(dm_current_mandatory(), field, onChange,
    value -> cloneListOrNull((Cl) value));
}

Author comment

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: 155 / 226
Version history: 1 change(s)
Referenced in: [show references]