static <A> A grabFromQueue(BlockingQueue<A> q) ctex { A x = null; while (x == null && licensed()) x = q.poll(1, TimeUnit.SECONDS); ret x; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004547 |
| Snippet name: | grabFromQueue |
| Eternal ID of this version: | #1004547/1 |
| Text MD5: | 528b4e942659444de5e3e6989b75cbe6 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-11-25 16:05:29 |
| Source code size: | 154 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 887 / 842 |
| Referenced in: | #1005525 - grabFromQueueIterator - wrap grabFromQueue in an IterableIterator #1006654 - Standard functions list 2 (LIVE, continuation of #761) |