Skip to content
Snippets Groups Projects
Commit ccbc70bc authored by NET-D3v3l0p3r's avatar NET-D3v3l0p3r
Browse files

-1-

parent 509e8d3e
No related branches found
No related tags found
No related merge requests found
Showing
with 100 additions and 0 deletions
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/../../../../../../../../../:\Users\enesh\Desktop\BachelorProjekt\compiler\praxisprojekt-lernsoftware-ws20-bis-ss21\ParallelPathfinderSemester6\.idea/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_15" default="true" project-jdk-name="15" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/ParallelPathfinderSemester6.iml" filepath="$PROJECT_DIR$/ParallelPathfinderSemester6.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
import parallel.EagerWorkingThread;
import window.MainWindow;
public class Program {
public static void main(String[] args) throws Exception {
/*
EagerWorkingThread workingThread = new EagerWorkingThread() {
@Override
public void onBegin() {
System.out.println("--- Begin ---");
}
@Override
public void onTrigger() {
try {
Thread.sleep(2000);
System.out.println("Triggered.");
} catch (InterruptedException e) {
e.printStackTrace();
}
}
@Override
public void onEnd() {
System.out.println("--- End ---");
}
};
workingThread.setAllowRunning(true);
workingThread.start();
workingThread.trigger();
System.out.println("Triggering #1");
workingThread.trigger();
System.out.println("Triggering #2");
workingThread.trigger();
System.out.println("Triggering #3");
Thread.sleep(10000);
System.out.println(System.nanoTime());
workingThread.trigger();
System.out.println(System.nanoTime());
*/
MainWindow window = new MainWindow("Pathfinder v1", 1080, 1080);
window.run();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment