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

4
LINES

< > BotCompany Repo | #1027843 // setField [Include] - requires change() method

JavaX fragment (include)

bool setField(S name, O value) {
  if (!set_trueIfChanged(this, name, value)) false;
  ret true with change();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027843
Snippet name: setField [Include] - requires change() method
Eternal ID of this version: #1027843/2
Text MD5: d38bb2c152b6c6874b4e0e9d41fa715c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-24 19:45:49
Source code size: 115 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 1373
Version history: 1 change(s)
Referenced in: [show references]