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

6
LINES

< > BotCompany Repo | #1031687 // waitForQToEmpty

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

Libraryless. Click here for Pure Java version (4034L/24K).

svoid waitForQToEmpty(Q q) {
  if (q == null || inQ(q)) ret;
  new Flag flag;
  q.add(flag);
  flag.waitUntilUp();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031687
Snippet name: waitForQToEmpty
Eternal ID of this version: #1031687/2
Text MD5: 01cb0fe2f43a444f1a552bdc9179ad56
Transpilation MD5: 5a78931324c853b826f516c65342f20f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-27 00:50:49
Source code size: 121 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 125 / 185
Version history: 1 change(s)
Referenced in: [show references]