Libraryless. Click here for Pure Java version (4671L/26K).
static <A> void waitWhileEmpty(SelfNotifyingSet<A> set) ctex { if (set == null) ret; synchronized(set) { while (set.isEmpty()) set.wait(); } }
Began life as a copy of #1015312
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033402 |
Snippet name: | waitWhileEmpty |
Eternal ID of this version: | #1033402/3 |
Text MD5: | b84b9f94e827a17fb5d9a320a0d8e6dc |
Transpilation MD5: | 6e5ed874682692c125fd1c4a81c3e8f5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-27 04:33:11 |
Source code size: | 157 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 165 / 219 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1034408 - waitWhileTrue |