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

Method off

src/main/java/fieldbox/boxes/TimeSlider.java:178–189  ·  view source on GitHub ↗
(Set<Box> off)

Source from the content-addressed store, hash-verified

176 on(on, currentMapping);
177 skipForward(skipForward, currentMapping);
178// skipBackward(skipBackward);
179
180
181 }
182
183 protected void off(Set<Box> off) {
184 if (disable) return;
185 List<Box> son = new ArrayList<>(off);
186 son.sort(Comparator.comparingDouble(a -> a.properties.get(frame).y));
187 son.sort(Comparator.comparingDouble(a -> a.properties.get(frame).x+a.properties.get(frame).w));
188
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));

Callers 1

performMethod · 0.95

Calls 6

logMethod · 0.95
firstMethod · 0.80
getMethod · 0.65
endMethod · 0.65
forEachMethod · 0.45
supportMethod · 0.45

Tested by

no test coverage detected