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

3
LINES

< > BotCompany Repo | #1016663 // setOptIfNotNull

JavaX fragment (include)

static void setOptIfNotNull(O o, S field, O value) {
  if (value != null) setOpt(o, field, value);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016663
Snippet name: setOptIfNotNull
Eternal ID of this version: #1016663/1
Text MD5: f7383e2c071a8e6dbfc7fc5735f1e3be
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-27 12:43:48
Source code size: 102 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 351 / 627
Referenced in: [show references]