static <A> A syncPopFirst(L<A> l) { if (empty(l)) null; synchronized(l) { A a = first(l); l.remove(0); ret a; } }
Began life as a copy of #1007610
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: | #1017117 |
Snippet name: | syncPopFirst - remove & return first element of list - synchronized |
Eternal ID of this version: | #1017117/1 |
Text MD5: | f0bbb4dd4b906416ef9f9328d0095573 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-12 15:30:03 |
Source code size: | 138 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 438 / 440 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |