svoid addToQWithMaxSize_verbose(int maxSize, S queueName, Q q, Runnable r) { if (q == null) ret; if (q.size() >= maxSize) ret with print(queueName + " sized " + q.size() + ": dropping " + runnableToStringShort(r)); addToQAndPrintSize(queueName, q, r); }
Began life as a copy of #1027057
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027061 |
Snippet name: | addToQWithMaxSize_verbose |
Eternal ID of this version: | #1027061/2 |
Text MD5: | 0c0904e6510996b20997c022bb1beb9d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-16 16:28:13 |
Source code size: | 268 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 258 / 301 |
Version history: | 1 change(s) |
Referenced in: | [show references] |