Transpiled version (2783L) is out of date.
static int stepMax(int max, Steppable s) { if (s == null) ret 0; int steps = 0; while ping (max-- > 0 && s.step()) ++steps; ret steps; } static int stepMax(Steppable s, int max) { ret stepMax(max, s); }
Began life as a copy of #1024992
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031754 |
Snippet name: | stepMax |
Eternal ID of this version: | #1031754/6 |
Text MD5: | f84115168c89b95e9ae47df29a965790 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-22 20:27:31 |
Source code size: | 222 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 177 / 284 |
Version history: | 5 change(s) |
Referenced in: | [show references] |