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

4
LINES

< > BotCompany Repo | #1009381 // copyFieldsToGlobalVariables - copies null in case of missing variables in source object

JavaX fragment (include)

static void copyFieldsToGlobalVariables(O o, S... fields) {
  for (S field : fields)
    setOpt(mc(), field, getOpt(o, field));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009381
Snippet name: copyFieldsToGlobalVariables - copies null in case of missing variables in source object
Eternal ID of this version: #1009381/3
Text MD5: 87df3eedaac0fe6857d6af074a2d5695
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-27 23:35:02
Source code size: 132 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 394 / 427
Version history: 2 change(s)
Referenced in: [show references]