This commit is contained in:
ldy
2026-03-01 23:18:55 -05:00
commit 67f753a5d1
3087 changed files with 218259 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
!SESSION 2023-03-09 08:56:16.352 -----------------------------------------------
eclipse.buildId=4.24.0.I20220607-0700
java.version=17.0.3
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -data C:\Users\s230026071\Desktop\Lab4_2230026071 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.jface 2 0 2023-03-09 08:56:19.501
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2023-03-09 08:56:19.501
!MESSAGE A conflict occurred for CTRL+SHIFT+T:
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
Open a type in a Java editor,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@4fe8e318,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+SHIFT+T,
ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace,
,
Category(org.eclipse.lsp4e.category,Language Servers,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@21e15093,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2023-03-09 08:56:19.501
!MESSAGE A conflict occurred for ALT+SHIFT+R:
Binding(ALT+SHIFT+R,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.rename.element,Rename - Refactoring ,
Rename the selected element,
Category(org.eclipse.jdt.ui.category.refactoring,Refactor - Java,Java Refactoring Actions,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@62cf873a,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+SHIFT+R,
ParameterizedCommand(Command(org.eclipse.ui.edit.rename,Rename,
Rename the selected item,
Category(org.eclipse.ui.category.file,File,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@21b3d356,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
!ENTRY org.eclipse.egit.ui 2 0 2023-03-09 08:56:23.223
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\s230026071'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
@@ -0,0 +1,15 @@
public class Start {
public static String check(Chicken chicken) {
if(chicken.isSleeping() == true) return "sweet dreams";
else return "need coffee";
}
public static void main(String[] args) {
Chicken.testChicken();
Chicken c = new Chicken(2.3);
System.out.println(check(c));
}
}
@@ -0,0 +1,8 @@
public class Start {
public static void main(String[] args) {
Chicken.testChicken();
}
}
@@ -0,0 +1,23 @@
public class Start {
public static String check(Student student) {
if(student.isSleeping() == true) return "sweet dreams";
else return "need coffee";
}
public static void testStudent() {
Student s = new Student(1234567890);
System.out.println(s.getID() == 1234567890);
System.out.println(s.isSleeping() == false);
s.fallAsleep();
System.out.println(s.isSleeping() == true);
s.fallAsleep(); // should do nothing because the student is already sleeping
System.out.println(s.isSleeping() == true);
s.wakeUp();
System.out.println(s.isSleeping() == false);
s.wakeUp(); // should do nothing because the student is already awake
System.out.println(s.isSleeping() == false);
}
}
@@ -0,0 +1,9 @@
public class Start {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
@@ -0,0 +1,15 @@
public class Start {
public static String check(Student student) {
if(student.isSleeping() == true) return "sweet dreams";
else return "need coffee";
}
public static void main(String[] args) {
Student.testStudent();
Student s = new Student(1);
System.out.println(check(s));
}
}
@@ -0,0 +1,15 @@
public class Start {
public static String check(Student student) {
if(student.isSleeping() == true) return "sweet dreams";
else return "need coffee";
}
public static void main(String[] args) {
Student.testStudent();
Student s = new Student(1234567890);
System.out.println(check(s));
}
}
@@ -0,0 +1,32 @@
public class Chicken {
private double weight;
private boolean sleeping;
public Chicken(double weight) {
this.sleeping = true;
this.weight = weight;
}
public double getWeight() {return this.weight;}
public boolean isSleeping() {return this.sleeping;}
public void fallAsleep() {this.sleeping = true;}
public void wakeUp() {this.sleeping = false;}
public static void testChicken() {
Chicken c = new Chicken(2.3);
System.out.println(c.getWeight() == 2.3);
System.out.println(c.isSleeping() == true);
c.wakeUp();
System.out.println(c.isSleeping() == false);
c.wakeUp(); // should do nothing because the chicken is already awake
System.out.println(c.isSleeping() == false);
c.fallAsleep();
System.out.println(c.isSleeping() == true);
c.fallAsleep(); // should do nothing because the chicken is already sleeping
System.out.println(c.isSleeping() == true);
}
}
@@ -0,0 +1,33 @@
public class Student {
private int ID;
private boolean sleeping = false;
public Student(int ID) {
this.ID = ID;
}
public int getID() {return ID;}
public boolean isSleeping() {return sleeping;}
public void fallAsleep() {sleeping = true;}
public void wakeUp() {sleeping = false;}
public static void testStudent() {
Student s = new Student(1234567890);
System.out.println(s.getID() == 1234567890);
System.out.println(s.isSleeping() == false);
s.fallAsleep();
System.out.println(s.isSleeping() == true);
s.fallAsleep(); // should do nothing because the student is already sleeping
System.out.println(s.isSleeping() == true);
s.wakeUp();
System.out.println(s.isSleeping() == false);
s.wakeUp(); // should do nothing because the student is already awake
System.out.println(s.isSleeping() == false);
}
}
@@ -0,0 +1,8 @@
public class Start {
public static void main(String[] args) {
Student.testStudent();
}
}
@@ -0,0 +1,8 @@
public class Start {
public static void main(String[] args) {
Student.testStudent();
}
}
@@ -0,0 +1,36 @@
public class Student {
//instance variables
private int ID;
private boolean sleeping = false;
//constructor
public Student(int ID) {
this.ID = ID;
}
//methods
public int getID() {return ID;}
public boolean isSleeping() {return sleeping;}
public void fallAsleep() {sleeping = true;}
public void wakeUp() {sleeping = false;}
//test
public static void testStudent() {
Student s = new Student(1234567890);
System.out.println(s.getID() == 1234567890);
System.out.println(s.isSleeping() == false);
s.fallAsleep();
System.out.println(s.isSleeping() == true);
s.fallAsleep(); // should do nothing because the student is already sleeping
System.out.println(s.isSleeping() == true);
s.wakeUp();
System.out.println(s.isSleeping() == false);
s.wakeUp(); // should do nothing because the student is already awake
System.out.println(s.isSleeping() == false);
}
}
@@ -0,0 +1,36 @@
public class Student {
public static void main(String[] args) {
private int ID;
private boolean sleeping = false;
public Student(int ID) {
this.ID = ID;
}
public int getID() {return ID;}
public boolean isSleeping() {return sleeping;}
public void fallAsleep() {sleeping = true;}
public void wakeUp() {sleeping = false;}
public static void testStudent() {
Student s = new Student(1234567890);
System.out.println(s.getID() == 1234567890);
System.out.println(s.isSleeping() == false);
s.fallAsleep();
System.out.println(s.isSleeping() == true);
s.fallAsleep(); // should do nothing because the student is already sleeping
System.out.println(s.isSleeping() == true);
s.wakeUp();
System.out.println(s.isSleeping() == false);
s.wakeUp(); // should do nothing because the student is already awake
System.out.println(s.isSleeping() == false);
}
}
}
@@ -0,0 +1,16 @@
public class Start {
//the check() method should be static, because the main function is static, therefore it cannot accesses check() as check() is non-static.
public static String check(Student student) {
if(student.isSleeping() == true) return "sweet dreams";
else return "need coffee";
}
public static void main(String[] args) {
Student.testStudent();
Student s = new Student(1234567890);
System.out.println(check(s));
}
}
@@ -0,0 +1,15 @@
public class Start {
//the check() method should be static, because the main function is static, therefore it cannot accesses check() as check() is non-static.
public static String check(Chicken chicken) {
if(chicken.isSleeping() == true) return "sweet dreams";
else return "need coffee";
}
public static void main(String[] args) {
Chicken.testChicken();
Chicken c = new Chicken(2.3);
System.out.println(check(c));
}
}
@@ -0,0 +1,35 @@
public class Student {
//instance variables
private int ID;
private boolean sleeping = false;
//constructor
public Student(int ID) {
this.ID = ID;
}
//methods
public int getID() {return ID;}
public boolean isSleeping() {return sleeping;}
public void fallAsleep() {sleeping = true;}
public void wakeUp() {sleeping = false;}
//test
public static void testStudent() {
Student s = new Student(1234567890);
System.out.println(s.getID() == 1234567890);
System.out.println(s.isSleeping() == false);
s.fallAsleep();
System.out.println(s.isSleeping() == true);
s.fallAsleep(); // should do nothing because the student is already sleeping
System.out.println(s.isSleeping() == true);
s.wakeUp();
System.out.println(s.isSleeping() == false);
s.wakeUp(); // should do nothing because the student is already awake
System.out.println(s.isSleeping() == false);
}
}
@@ -0,0 +1,8 @@
public class Start {
public static void main(String[] args) {
Chicken.testChicken();
}
}
@@ -0,0 +1,12 @@
public class Student {
public static void main(String[] args) {
private int ID;
private boolean sleeping;
}
}
@@ -0,0 +1,13 @@
public class Start {
public String check() {
if(Student.isSleeping() == true) System.out.println("sweet dreams");
else System.out.println("need coddee");
}
public static void main(String[] args) {
Student.testStudent();
}
}
@@ -0,0 +1,8 @@
public class Start {
public static void main(String[] args) {
Student.testStudent();
}
}
@@ -0,0 +1,35 @@
public class Student {
//instance variables
private int ID;
private boolean sleeping = false;
//constructor
public Student(int ID) {
this.ID = ID;
}
//methods
public int getID() {return ID;}
public boolean isSleeping() {return sleeping;}
public void fallAsleep() {sleeping = true;}
public void wakeUp() {sleeping = false;}
//test
public static void testStudent() {
Student s = new Student(1234567890);
System.out.println(s.getID() == 1234567890);
System.out.println(s.isSleeping() == false);
s.fallAsleep();
System.out.println(s.isSleeping() == true);
s.fallAsleep(); // should do nothing because the student is already sleeping
System.out.println(s.isSleeping() == true);
s.wakeUp();
System.out.println(s.isSleeping() == false);
s.wakeUp(); // should do nothing because the student is already awake
System.out.println(s.isSleeping() == false);
}
}
@@ -0,0 +1,32 @@
public class Chicken {
private double weight;
private boolean sleeping;
public Chicken(double weight) {
this.sleeping = true;
this.weight = weight;
}
public double getWeight() {return this.weight;}
public boolean isSleeping() {return this.sleeping;}
public void fallAsleep() {this.sleeping = true;}
public void wakeUp() {this.sleeping = false;}
public static void testChicken() {
Chicken c = new Chicken(2.3);
System.out.println(c.getWeight() == 2.3);
System.out.println(c.isSleeping() == true);
c.wakeUp();
System.out.println(c.isSleeping() == false);
c.wakeUp(); // should do nothing because the chicken is already awake
System.out.println(c.isSleeping() == false);
c.fallAsleep();
System.out.println(c.isSleeping() == true);
c.fallAsleep(); // should do nothing because the chicken is already sleeping
System.out.println(c.isSleeping() == true);
}
}
@@ -0,0 +1,14 @@
public class Start {
public static void main(String[] args) {
Student.testStudent();
}
private static String check() {
if(Student.isSleeping() == true) System.out.println("sweet dreams");
else System.out.println("need coddee");
}
}
@@ -0,0 +1,14 @@
public class Start {
public static void main(String[] args) {
Student.testStudent();
}
public String check() {
if(Student.isSleeping() == true) System.out.println("sweet dreams");
else System.out.println("need coddee");
}
}
@@ -0,0 +1,33 @@
public class Student {
private int ID;
private boolean sleeping = false;
Student(int ID) {
this.ID = ID;
}
public int getID() {return ID;}
public boolean isSleeping() {return sleeping;}
public void fallAsleep() {sleeping = true;}
public void wakeUp() {sleeping = false;}
public static void testStudent() {
Student s = new Student(1234567890);
System.out.println(s.getID() == 1234567890);
System.out.println(s.isSleeping() == false);
s.fallAsleep();
System.out.println(s.isSleeping() == true);
s.fallAsleep(); // should do nothing because the student is already sleeping
System.out.println(s.isSleeping() == true);
s.wakeUp();
System.out.println(s.isSleeping() == false);
s.wakeUp(); // should do nothing because the student is already awake
System.out.println(s.isSleeping() == false);
}
}
@@ -0,0 +1,36 @@
public class Student {
//instance variables
private int ID;
private boolean sleeping = false;
//constructor
public Student(int ID) {
this.ID = ID;
}
//methods
public int getID() {return ID;}
public boolean isSleeping() {return sleeping;}
public void fallAsleep() {sleeping = true;}
public void wakeUp() {sleeping = false;}
//test
public static void testStudent() {
Student s = new Student(1234567890);
System.out.println(s.getID() == 1234567890);
System.out.println(s.isSleeping() == false);
s.fallAsleep();
System.out.println(s.isSleeping() == true);
s.fallAsleep(); // should do nothing because the student is already sleeping
System.out.println(s.isSleeping() == true);
s.wakeUp();
System.out.println(s.isSleeping() == false);
s.wakeUp(); // should do nothing because the student is already awake
System.out.println(s.isSleeping() == false);
}
}
@@ -0,0 +1,15 @@
public class Start {
public static String check(Student student) {
if(student.isSleeping() == true) return "sweet dreams";
else return "need coffee";
}
public static void main(String[] args) {
Student.testStudent();
Student s = new Student(1);
System.out.println(check(s));
}
}
@@ -0,0 +1,32 @@
public class Chicken {
private double weight;
private boolean sleeping;
public Chicken(double weight) {
this.sleeping = true;
this.weight = weight;
}
public double getWeight() {return this.weight;}
public boolean isSleeping() {return this.sleeping;}
public void fallAsleep() {this.sleeping = true;}
public void wakeUp() {this.sleeping = false;}
public static void testChicken() {
Chicken c = new Chicken(2.3);
System.out.println(c.getWeight() == 2.3);
System.out.println(c.isSleeping() == true);
c.wakeUp();
System.out.println(c.isSleeping() == false);
c.wakeUp(); // should do nothing because the chicken is already awake
System.out.println(c.isSleeping() == false);
c.fallAsleep();
System.out.println(c.isSleeping() == true);
c.fallAsleep(); // should do nothing because the chicken is already sleeping
System.out.println(c.isSleeping() == true);
}
}
@@ -0,0 +1,9 @@
public class Student {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
@@ -0,0 +1,15 @@
public class Start {
public static String check(Student student) {
if(student.isSleeping() == true) return "sweet dreams";
else return "need coffee";
}
public static void main(String[] args) {
Student.testStudent();
Student s = new Student(1);
System.out.println(check(s));
}
}
@@ -0,0 +1,3 @@
eclipse.preferences.version=1
encoding=UTF-8
version=1
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
org.eclipse.debug.ui.save_dirty_editors_before_launch=always
preferredTargets=default,org.eclipse.lsp4e.debug.toggleBreakpointTarget\:default|org.eclipse.lsp4e.debug.toggleBreakpointTarget\:org.eclipse.lsp4e.debug.toggleBreakpointTarget|
@@ -0,0 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.junit.content_assist_favorite_static_members_migrated=true
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1678323397160">\r\n <vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n <vm id\="1678323397160" name\="jre" path\="C\:\\Eclipse\\plugins\\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.3.v20220515-1416\\jre"/>\r\n </vmType>\r\n</vmSettings>\r\n
@@ -0,0 +1,10 @@
content_assist_lru_history=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><history maxLHS\="100" maxRHS\="10"/>
content_assist_number_of_computers=17
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
eclipse.preferences.version=1
org.eclipse.jdt.ui.formatterprofiles.version=22
spelling_locale_initialized=true
typefilter_migrated_2=true
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true
@@ -0,0 +1,2 @@
areThereWebServices=false
eclipse.preferences.version=1
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.m2e.discovery.pref.projects=
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
knownEEFragments=
@@ -0,0 +1,2 @@
browsers=<?xml version\="1.0" encoding\="UTF-8"?>\r\n<web-browsers current\="0">\r\n<system/>\r\n<external location\="C\:\\Program Files\\Mozilla Firefox\\firefox.exe" name\="Firefox"/>\r\n<external location\="C\:\\Program Files\\Internet Explorer\\iexplore.exe" name\="Internet Explorer"/>\r\n<external location\="C\:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe" name\="Microsoft Edge"/>\r\n<external location\="C\:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" name\="Chrome"/>\r\n</web-browsers>
eclipse.preferences.version=1
@@ -0,0 +1,5 @@
SWITCH_PERSPECTIVE_ON_PROJECT_CREATION=always
eclipse.preferences.version=1
platformState=1659508920205
quickStart=false
tipsAndTricks=true
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.ui.navigator.ProjectExplorer.filterActivation=\:org.eclipse.jdt.java.ui.filters.HidePackageDeclaration\:org.eclipse.jdt.java.ui.filters.HideOutputFolder\:org.eclipse.buildship.ui.navigator.filter.gradle.subProject\:org.eclipse.ui.navigator.resources.nested.HideTopLevelProjectIfNested\:org.eclipse.buildship.ui.navigator.filter.gradle.buildfolder\:org.eclipse.jdt.java.ui.filters.HideEmptyInnerPackages\:org.eclipse.jst.j2ee.navigator.ui.filters.jetemitters\:org.eclipse.jdt.java.ui.filters.HideInnerClassFiles\:org.eclipse.ui.navigator.resources.filters.startsWithDot\:org.eclipse.jdt.java.ui.filters.HideEmptyLibraryContainers\:org.eclipse.jdt.java.ui.filters.HideImportDeclaration\:org.eclipse.jdt.java.ui.filters.HideSyntheticMembers\:org.eclipse.ui.navigator.resources.nested.HideFolderWhenProjectIsShownAsNested\:
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
showIntro=false
@@ -0,0 +1,10 @@
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
//org.eclipse.ui.commands/state/org.eclipse.wst.xml.views.XPathView.processor.xpathprocessor/org.eclipse.ui.commands.radioState=xpath10
PLUGINS_NOT_ACTIVATED_ON_STARTUP=;org.eclipse.m2e.discovery;
eclipse.preferences.version=1
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR=16,16,16
org.eclipse.ui.workbench.ACTIVE_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=242,242,242
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
processedSchemes=,eclipse+command,eclipse+mpc
@@ -0,0 +1,9 @@
eclipse.preferences.version=1
fontPropagated=true
org.eclipse.wst.jsdt.ui.editor.tab.width=
org.eclipse.wst.jsdt.ui.formatterprofiles.version=11
org.eclipse.wst.jsdt.ui.javadoclocations.migrated=true
proposalOrderMigrated=true
tabWidthPropagated=true
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true
@@ -0,0 +1,3 @@
eclipse.preferences.version=1
org.eclipse.wst.ws.service.policy.ui.servicepols.wsiprofilecomp.wsiap.defaultProtocol=http\://schemas.xmlsoap.org/wsdl/soap/
org.eclipse.wst.ws.service.policy.ui.servicepols.wsiprofilecomp.wsissbp.defaultProtocol=http\://schemas.xmlsoap.org/wsdl/soap/
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Question2/src/Start.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="Start"/>
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Question2"/>
</launchConfiguration>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Question3/src/Start.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="Start"/>
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Question3"/>
</launchConfiguration>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Question4/src/Start.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="Start"/>
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Question4"/>
</launchConfiguration>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Question1/src/Start.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="Start"/>
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Question1"/>
</launchConfiguration>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Question1/src/Student.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="Student"/>
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="Question1"/>
</launchConfiguration>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/test/src/test/test.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_EXCLUDE_TEST_CODE" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="test.test"/>
<stringAttribute key="org.eclipse.jdt.launching.MODULE_NAME" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="test"/>
</launchConfiguration>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.debug.ui.SCOPED_SAVE_SELECTION_DIALOG">
<item key="DIALOG_WIDTH" value="309"/>
<item key="DIALOG_HEIGHT" value="377"/>
<item key="DIALOG_FONT_NAME" value="1|Segoe UI|9.0|0|WINDOWS|1|-12|0|0|0|400|0|0|0|1|0|0|5|0|Segoe UI"/>
</section>
</section>
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchHistory>
<launchGroup id="org.eclipse.debug.ui.launchGroup.debug">
<mruHistory>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (3)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (1)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (2)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Student&quot;/&gt;&#13;&#10;"/>
</mruHistory>
<favorites/>
</launchGroup>
<launchGroup id="org.eclipse.debug.ui.launchGroup.profile">
<mruHistory/>
<favorites/>
</launchGroup>
<launchGroup id="org.eclipse.eclemma.ui.launchGroup.coverage">
<mruHistory>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (3)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (1)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (2)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Student&quot;/&gt;&#13;&#10;"/>
</mruHistory>
<favorites/>
</launchGroup>
<launchGroup id="org.eclipse.ui.externaltools.launchGroup">
<mruHistory/>
<favorites/>
</launchGroup>
<launchGroup id="org.eclipse.debug.ui.launchGroup.run">
<mruHistory>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (3)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (1)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start (2)&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Start&quot;/&gt;&#13;&#10;"/>
<launch memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;launchConfiguration local=&quot;true&quot; path=&quot;Student&quot;/&gt;&#13;&#10;"/>
</mruHistory>
<favorites/>
</launchGroup>
</launchHistory>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>.org.eclipse.egit.core.cmp</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
@@ -0,0 +1,6 @@
INDEX VERSION 1.131+C:\Users\s230026071\Desktop\Lab4_2230026071\.metadata\.plugins\org.eclipse.jdt.core
2942156142.index
3629813240.index
1178474587.index
1865797976.index
911535316.index
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dirs>
<entry loc="C:\Eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.3.v20220515-1416" stamp="1659508846169"/>
<entry loc="C:\Eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.3.v20220515-1416\jre" stamp="1659508846065"/>
</dirs>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<libraryInfos>
<libraryInfo home="C:\Eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.3.v20220515-1416" version="17.0.3"/>
<libraryInfo home="C:\Eclipse\plugins\org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.3.v20220515-1416\jre" version="17.0.3"/>
</libraryInfos>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<typeInfoHistroy/>
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qualifiedTypeNameHistroy/>
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<item key="org.eclipse.jdt.ui.last.selected.jre.kind2" value="0"/>
<item key="org.eclipse.jdt.ui.last.selected.execution.enviroment" value="JavaSE-17"/>
<item key="org.eclipse.jdt.ui.last.selected.create.moduleinfo" value="false"/>
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
<item key="group_libraries" value="true"/>
<item key="layout" value="2"/>
<item key="rootMode" value="1"/>
<item key="linkWithEditor" value="false"/>
<item key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;1&quot; workingSetName=&quot;Aggregate for window 1678323383543&quot;&gt;&#x0D;&#x0A;&lt;customFilters userDefinedPatternsEnabled=&quot;false&quot;&gt;&#x0D;&#x0A;&lt;xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.StaticsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.buildfolder&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.m2e.MavenModuleFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.buildship.ui.packageexplorer.filter.gradle.subProject&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.pde.ui.BinaryProjectFilter1&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.pde.ui.ExternalPluginLibrariesFilter1&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.FieldsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.DeprecatedMembersFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter&quot; isEnabled=&quot;true&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.LibraryFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;child filterId=&quot;org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter&quot; isEnabled=&quot;false&quot;/&gt;&#x0D;&#x0A;&lt;/xmlDefinedFilters&gt;&#x0D;&#x0A;&lt;/customFilters&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;"/>
</section>
<section name="OptionalMessageDialog.hide.">
<item key="org.eclipse.jdt.ui.typecomment.deprecated" value="true"/>
</section>
<section name="NewClassWizardPage">
<item key="create_constructor" value="false"/>
<item key="create_unimplemented" value="true"/>
</section>
<section name="completion_proposal_size">
</section>
<section name="quick_assist_proposal_size">
</section>
<section name="JavaElementSearchActions">
</section>
</section>
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<session version="1.0">&#x0A;<refactoring comment="Delete resource &apos;test&apos;" deleteContents="true" description="Delete resource &apos;test&apos;" element1="/test" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1678325191450"/>&#x0A;<refactoring comment="Delete resource &apos;test&apos;" deleteContents="true" description="Delete resource &apos;test&apos;" element1="/test" flags="7" id="org.eclipse.ltk.core.refactoring.delete.resources" resources="1" stamp="1678325944355"/>
</session>
@@ -0,0 +1,2 @@
1678325191450 Delete resource 'test'
1678325944355 Delete resource 'test'

Some files were not shown because too many files have changed in this diff Show More