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

4
LINES

< > BotCompany Repo | #1016885 // tempSetThreadLocalOpt

JavaX fragment (include)

static AutoCloseable tempSetThreadLocalOpt(fO o, fS name, O value) {
  fO prev = getThreadLocalOpt(o, name);
  ret autoCloseable { setThreadLocalOpt(o, name, prev); };
}

Author comment

Began life as a copy of #1012933

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016885
Snippet name: tempSetThreadLocalOpt
Eternal ID of this version: #1016885/4
Text MD5: 9e1cd37022b7e110c94ad2aaec2cb107
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-06 16:25:25
Source code size: 172 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 380 / 421
Version history: 3 change(s)
Referenced in: [show references]