MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / on

Method on

src/main/java/fieldbox/boxes/TimeSlider.java:191–203  ·  view source on GitHub ↗
(Set<Box> on, Map<Box, Double> mapping)

Source from the content-addressed store, hash-verified

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))));

Callers 1

performMethod · 0.95

Calls 7

logMethod · 0.95
initiatorMethod · 0.95
firstMethod · 0.80
getMethod · 0.65
beginMethod · 0.65
forEachMethod · 0.45
supportMethod · 0.45

Tested by

no test coverage detected