| 189 | son.forEach(b -> { |
| 190 | Log.log("debug.execution", () -> " -- END :" + b); |
| 191 | if (b != null) |
| 192 | b.first(Execution.execution).ifPresent(x -> x.support(b, Execution.code).end(b)); |
| 193 | }); |
| 194 | } |
| 195 | |
| 196 | protected void on(Set<Box> on, Map<Box, Double> mapping) { |
| 197 | if (disable) return; |
| 198 | |
| 199 | List<Box> son = new ArrayList<>(on); |
| 200 | son.sort(Comparator.comparingDouble(a -> a.properties.get(frame).y)); |
| 201 | son.sort(Comparator.comparingDouble(a -> a.properties.get(frame).x)); |
| 202 | |
| 203 | son.forEach(b -> { |
| 204 | Log.log("debug.execution", () -> " -- BEGIN :" + b); |
| 205 | if (b != null) |
| 206 | b.first(Execution.execution).ifPresent(x -> x.support(b, Execution.code).begin(b, initiator(b, mapping.get(b)))); |