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

5
LINES

< > BotCompany Repo | #1023443 // tempSetMC

JavaX fragment (include)

static AutoCloseable tempSetMC(fS field, O value) {
  fO oldValue = getMC(field);
  setMC(field, value);
  ret autoCloseable { setMC(field, oldValue); };
}

Author comment

Began life as a copy of #1020663

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023443
Snippet name: tempSetMC
Eternal ID of this version: #1023443/1
Text MD5: 0f1394d89ef77111287e1eadffaa6aed
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-21 23:53:32
Source code size: 159 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 273 / 330
Referenced in: [show references]