Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1027057 // addToQAndPrintSize

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3285L/20K).

svoid addToQAndPrintSize(S queueName, Q q, Runnable r) {
  if (q == null) ret;
  q.add(r);
  print(queueName + " sized " + q.size() + " after adding " + runnableToStringShort(r));
}

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: #1027057
Snippet name: addToQAndPrintSize
Eternal ID of this version: #1027057/1
Text MD5: d7d08ce3b15788ebdf09677e24ba6a3c
Transpilation MD5: 2a66ce8df706f32d55939073879bda3c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-16 15:49:34
Source code size: 185 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 193 / 250
Referenced in: [show references]