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

5
LINES

< > BotCompany Repo | #1016577 - set_trueIfChanged

JavaX fragment (include)

static bool set_trueIfChanged(O o, S field, O value) {
  if (eq(get(o, field), value)) false;
  set(o, field, value);
  true;
}

Author comment

Began life as a copy of #1014784

download  show line numbers  debug dex   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1016577
Snippet name: set_trueIfChanged
Eternal ID of this version: #1016577/1
Text MD5: 55129d29785b3744e912ff30d5e1abfd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-24 02:40:22
Source code size: 131 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 193
Referenced in: [show references]

Formerly at http://tinybrain.de/1016577 & http://1016577.tinybrain.de