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

7
LINES

< > BotCompany Repo | #1030137 // copyAllThisDollarFields

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

Libraryless. Click here for Pure Java version (2596L/16K).

svoid copyAllThisDollarFields(O src, O dest) ctex {
  for (Field f : allThisDollarFields(dest)) {
    O o = getOpt(src, f.getName());
    if (o != null)
      f.set(dest, o);
  }
}

Author comment

Began life as a copy of #1030136

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030137
Snippet name: copyAllThisDollarFields
Eternal ID of this version: #1030137/1
Text MD5: 94ce7f5e76069b594179c792c75163fd
Transpilation MD5: a4d2cef34339598906922a08dd3217d3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-11 12:39:58
Source code size: 186 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 270 / 336
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)