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

Method drop

src/main/java/field/graphics/Windows.java:292–307  ·  view source on GitHub ↗
(long window, String[] files)

Source from the content-addressed store, hash-verified

290 GlfwCallback a = adaptors.get(window);
291 if (a != null) a.drop(window, files);
292 };
293
294 if (checkThread()) r.run();
295 else {
296 events.addLast(r);
297 RunLoop.main.shouldSleep.add(Windows.this);
298 RunLoop.main.interrupt();
299 }
300 }
301
302
303 @Override
304 public boolean windowClose(long window) {
305 Runnable r = () -> {
306 checkClassLoader();
307 GlfwCallback a = adaptors.get(window);
308 if (a != null) a.windowClose(window);
309 };
310

Callers 1

registerMethod · 0.45

Calls 7

checkClassLoaderMethod · 0.95
dropMethod · 0.95
checkThreadMethod · 0.95
interruptMethod · 0.80
getMethod · 0.65
runMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected