static <A> void listThreadLocalAdd(ThreadLocal<L<A>> tl, A a) { L<A> l = tl.get(); if (l == null) tl.set(l = new L); l.add(a); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014826 |
Snippet name: | listThreadLocalAdd |
Eternal ID of this version: | #1014826/1 |
Text MD5: | d4ea35cb66da036727f90f509a696faf |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-04 10:09:56 |
Source code size: | 138 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 392 / 422 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014827 - listThreadLocalPopLast - remove & return last element |