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

4
LINES

< > BotCompany Repo | #1026740 // copyAllDynFieldsExcept

JavaX fragment (include)

static <A> A copyAllDynFieldsExcept(O x, A y, S... withoutFields) {
  if (x == null || y == null) ret y;
  ret copyFields(x, y, listMinus(dynFields(x), withoutFields));
}

Author comment

Began life as a copy of #1026739

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: #1026740
Snippet name: copyAllDynFieldsExcept
Eternal ID of this version: #1026740/1
Text MD5: 66266d06758d22c486507f87db0a2c15
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-19 21:48:13
Source code size: 173 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 177
Referenced in: [show references]