Transpiled version (10167L) is out of date.
svoid stepMaxWithPrintStruct(long maxSteps, Steppable s) { if (s == null) ret; long steps = 0; do { if (steps++ > maxSteps) break; printStruct(s); } while (s.step()); printStruct(s); } svoid stepMaxWithPrintStruct(Steppable s, long maxSteps) { stepMaxWithPrintStruct(maxSteps, s); }
Began life as a copy of #1030476
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035384 |
Snippet name: | stepMaxWithPrintStruct |
Eternal ID of this version: | #1035384/2 |
Text MD5: | abf8515d3d54cad2de17bcffa8a18355 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-04 19:34:59 |
Source code size: | 311 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 165 / 230 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035390 - stepMaxWithPrintIndentedStruct |