static <A> A listThreadLocalPopLast(ThreadLocal<L<A>> tl) { L<A> l = tl.get(); if (l == null) null; A a = popLast(l); if (empty(l)) tl.set(null); ret a; }
Began life as a copy of #1014826
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: | #1014827 |
Snippet name: | listThreadLocalPopLast - remove & return last element |
Eternal ID of this version: | #1014827/1 |
Text MD5: | be3facfc26f4684e3486c8ae65e54b43 |
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:11:31 |
Source code size: | 170 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 444 / 485 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |