Transpiled version (10167L) is out of date.
1 | svoid stepMaxWithPrintStruct(long maxSteps, Steppable s) { |
2 | if (s == null) ret; |
3 | long steps = 0; |
4 | do { |
5 | if (steps++ > maxSteps) break; |
6 | printStruct(s); |
7 | } while (s.step()); |
8 | printStruct(s); |
9 | } |
10 | |
11 | svoid stepMaxWithPrintStruct(Steppable s, long maxSteps) { |
12 | stepMaxWithPrintStruct(maxSteps, s); |
13 | } |
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: | 166 / 231 |
Version history: | 1 change(s) |
Referenced in: | [show references] |