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

8
LINES

< > BotCompany Repo | #1030477 // stepAllWith

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

Libraryless. Click here for Pure Java version (2696L/16K).

svoid stepAllWith(Steppable s, Runnable r) {
  if (s == null) ret;
  do {
    ping();
    callF(r);
  } while (s.step());
  callF(r);
}

Author comment

Began life as a copy of #1030476

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1030477
Snippet name: stepAllWith
Eternal ID of this version: #1030477/3
Text MD5: 94d2f223fc8e77ef0139f9df13f141cd
Transpilation MD5: 7387df202de46f723b07b9c0a5518f3e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-23 05:38:39
Source code size: 144 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 179 / 254
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030834 - stepAllWithTimeout