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

4
LINES

< > BotCompany Repo | #1026739 // copyAllFieldsExcept

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

Libraryless. Click here for Pure Java version (2408L/15K).

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

Author comment

Began life as a copy of #1002178

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: #1026739
Snippet name: copyAllFieldsExcept
Eternal ID of this version: #1026739/3
Text MD5: 3ce2578a44bb8afeeb45a1663945a265
Transpilation MD5: 946c4e90892638c890612a1efeea223a
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:46:37
Source code size: 171 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 120 / 180
Version history: 2 change(s)
Referenced in: [show references]