1 | svoid addToQWithMaxSize(int maxSize, Q q, Runnable r) { |
2 | if (q == null || q.size() >= maxSize) ret; |
3 | q.add(r); |
4 | } |
Began life as a copy of #1027061
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: | #1027064 |
Snippet name: | addToQWithMaxSize |
Eternal ID of this version: | #1027064/3 |
Text MD5: | 71b759b6d4d75a51a0ef440f63216785 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-16 17:12:00 |
Source code size: | 117 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 245 / 270 |
Version history: | 2 change(s) |
Referenced in: | [show references] |