static <A> A setThreadLocal(ThreadLocal<A> tl, A value) { if (tl == null) null; A old = tl.get(); tl.set(value); ret old; }
download show line numbers debug dex old transpilations
Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, omdjrrnzbjjv, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1011580 |
Snippet name: | setThreadLocal - returns old value |
Eternal ID of this version: | #1011580/3 |
Text MD5: | 02691eb263994eab02b6753e74966a67 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-28 11:54:33 |
Source code size: | 136 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 552 / 1298 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021672 - setThreadLocalAndReturn - returns new value |