Libraryless. Click here for Pure Java version (7482L/42K).
// returns number of steps static long stepAll(Steppable s) { long steps = 0; if (s != null) { var pingSource = pingSource(); while true { ping(pingSource); if (s.step()) ++steps; else break; } } ret steps; }
Began life as a copy of #1018351
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024992 |
| Snippet name: | stepAll |
| Eternal ID of this version: | #1024992/6 |
| Text MD5: | d738b838eb35135734587d44283f0129 |
| Transpilation MD5: | c904ab29ec6f39fd18d206b9ad533659 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-26 02:03:39 |
| Source code size: | 278 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 591 / 844 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |