(int a, Function<Integer, Boolean> c, int ch, Consumer<Integer> d)
| 36 | private static boolean started = false; |
| 37 | |
| 38 | public static void dofor(int a, Function<Integer, Boolean> c, int ch, Consumer<Integer> d) { |
| 39 | for (int i = a; c.apply(i); i += ch) { |
| 40 | c.apply(i); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | public static boolean doif(Supplier<Boolean> c, Runnable g) { |
| 45 | if (c.get()) { |