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

5
LINES

< > BotCompany Repo | #1023443 // tempSetMC

JavaX fragment (include)

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

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: 190 / 236
Referenced in: [show references]