Libraryless. Click here for Pure Java version (78L/1K).
static <A> AutoCloseable tempSetTL(ThreadLocal<A> tl, A a) { ret tempSetThreadLocal(tl, a); } ifclass BetterThreadLocal static <A> AutoCloseable tempSetTL(BetterThreadLocal<A> tl, A a) { ret tempSetThreadLocalIfNecessary(tl, a); } endif
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1018288 |
| Snippet name: | tempSetTL - synonym of tempSetThreadLocal |
| Eternal ID of this version: | #1018288/6 |
| Text MD5: | ce1bee46b26ef050f64417e3c240bf54 |
| Transpilation MD5: | 7ea5d993068d9e37011bf525d6f5f7c6 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-11-02 01:55:22 |
| Source code size: | 249 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 911 / 1237 |
| Version history: | 5 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1033545 - tempSetTL_noInit |