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

4
LINES

< > BotCompany Repo | #1024574 // dm_copyFields - may copy only some fields if one field is not found in source or target

JavaX fragment (include)

svoid dm_copyFields(O mod1, O mod2, Cl<S> fields) {
  for (S field : fields)
    dm_set(mod2, field, quickExport(dm_get(mod1, field), dm_mod(mod2)));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024574
Snippet name: dm_copyFields - may copy only some fields if one field is not found in source or target
Eternal ID of this version: #1024574/3
Text MD5: cc8c9c766df372c2aea5d7ecc3b48af6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-18 20:45:51
Source code size: 154 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 101 / 146
Version history: 2 change(s)
Referenced in: [show references]