Added deque.

This commit is contained in:
Jacob Signorovitch
2024-12-03 09:01:01 -05:00
parent f6654a4ce0
commit c5f494f55f
37 changed files with 154 additions and 73 deletions

View File

@@ -1,3 +1,3 @@
#GitProjectData #GitProjectData
#Thu Nov 21 00:04:34 EST 2024 #Tue Dec 03 08:17:09 EST 2024
.gitdir=../.git .gitdir=../.git

View File

@@ -1,3 +1,3 @@
#GitProjectData #GitProjectData
#Thu Nov 21 00:04:34 EST 2024 #Tue Dec 03 08:17:08 EST 2024
.gitdir=../.git .gitdir=../.git

View File

@@ -1,3 +1,3 @@
#GitProjectData #GitProjectData
#Thu Nov 21 00:04:34 EST 2024 #Tue Dec 03 08:17:09 EST 2024
.gitdir=../.git .gitdir=../.git

View File

@@ -1,3 +1,3 @@
#GitProjectData #GitProjectData
#Thu Nov 21 00:04:34 EST 2024 #Tue Dec 03 08:17:09 EST 2024
.gitdir=../.git .gitdir=../.git

View File

@@ -1,3 +1,3 @@
#GitProjectData #GitProjectData
#Thu Nov 21 00:04:34 EST 2024 #Tue Dec 03 08:17:09 EST 2024
.gitdir=../.git .gitdir=../.git

View File

@@ -1,3 +1,3 @@
#GitProjectData #GitProjectData
#Thu Nov 21 00:04:34 EST 2024 #Tue Dec 03 08:17:09 EST 2024
.gitdir=../.git .gitdir=../.git

View File

@@ -1,4 +1,4 @@
eclipse.preferences.version=1 eclipse.preferences.version=1
platformState=898993722738329 platformState=912091304600930
quickStart=false quickStart=false
tipsAndTricks=true tipsAndTricks=true

View File

@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="ASCII"?> <?xml version="1.0" encoding="ASCII"?>
<application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_Hu-mcJsXEe-qluA09t8VjQ" elementId="org.eclipse.e4.legacy.ide.application" contributorURI="platform:/plugin/org.eclipse.platform" selectedElement="_Hu-mcZsXEe-qluA09t8VjQ" bindingContexts="_Hu-mepsXEe-qluA09t8VjQ"> <application:Application xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:advanced="http://www.eclipse.org/ui/2010/UIModel/application/ui/advanced" xmlns:application="http://www.eclipse.org/ui/2010/UIModel/application" xmlns:basic="http://www.eclipse.org/ui/2010/UIModel/application/ui/basic" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_Hu-mcJsXEe-qluA09t8VjQ" elementId="org.eclipse.e4.legacy.ide.application" contributorURI="platform:/plugin/org.eclipse.platform" selectedElement="_Hu-mcZsXEe-qluA09t8VjQ" bindingContexts="_Hu-mepsXEe-qluA09t8VjQ">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;workbench>&#xA;&lt;mruList>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;registrar/src/registrar/Main.java&quot;>&#xA;&lt;persistable path=&quot;/registrar/src/registrar/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;mastermind/src/mastermind/Main.java&quot;>&#xA;&lt;persistable path=&quot;/mastermind/src/mastermind/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;generics/src/generics/Main.java&quot;>&#xA;&lt;persistable path=&quot;/generics/src/generics/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;fibonacci/src/fibonacci/Main.java&quot;>&#xA;&lt;persistable path=&quot;/fibonacci/src/fibonacci/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;DefaultReporter.class&quot; tooltip=&quot;tester.DefaultReporter&quot;>&#xA;&lt;persistable org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=abstraction/\/home\/jacob\/School\/CS3\/libs\/tester.jar&amp;lt;tester(DefaultReporter.class&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;abstraction/src/abstraction/Main.java&quot;>&#xA;&lt;persistable path=&quot;/abstraction/src/abstraction/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;accumulators/src/accumulators/Main.java&quot;>&#xA;&lt;persistable path=&quot;/accumulators/src/accumulators/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;trees/src/trees/Main.java&quot;>&#xA;&lt;persistable path=&quot;/trees/src/trees/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Three.java&quot; tooltip=&quot;accumulators/src/accumulators/Three.java&quot;>&#xA;&lt;persistable path=&quot;/accumulators/src/accumulators/Three.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.ide.FileStoreEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Three.java&quot; tooltip=&quot;/home/jacob/Downloads/assignment-four/Three.java&quot;>&#xA;&lt;persistable uri=&quot;file:/home/jacob/Downloads/assignment-four/Three.java&quot;/>&#xA;&lt;/file>&#xA;&lt;/mruList>&#xA;&lt;/workbench>"/> <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;workbench>&#xA;&lt;mruList>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;trees/src/trees/Main.java&quot;>&#xA;&lt;persistable path=&quot;/trees/src/trees/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;deque/src/deque/Main.java&quot;>&#xA;&lt;persistable path=&quot;/deque/src/deque/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;registrar/src/registrar/Main.java&quot;>&#xA;&lt;persistable path=&quot;/registrar/src/registrar/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;mastermind/src/mastermind/Main.java&quot;>&#xA;&lt;persistable path=&quot;/mastermind/src/mastermind/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;generics/src/generics/Main.java&quot;>&#xA;&lt;persistable path=&quot;/generics/src/generics/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;fibonacci/src/fibonacci/Main.java&quot;>&#xA;&lt;persistable path=&quot;/fibonacci/src/fibonacci/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.jdt.ui.ClassFileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.ClassFileEditor&quot; name=&quot;DefaultReporter.class&quot; tooltip=&quot;tester.DefaultReporter&quot;>&#xA;&lt;persistable org.eclipse.jdt.ui.ClassFileIdentifier=&quot;=abstraction/\/home\/jacob\/School\/CS3\/libs\/tester.jar&amp;lt;tester(DefaultReporter.class&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;abstraction/src/abstraction/Main.java&quot;>&#xA;&lt;persistable path=&quot;/abstraction/src/abstraction/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; tooltip=&quot;accumulators/src/accumulators/Main.java&quot;>&#xA;&lt;persistable path=&quot;/accumulators/src/accumulators/Main.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Three.java&quot; tooltip=&quot;accumulators/src/accumulators/Three.java&quot;>&#xA;&lt;persistable path=&quot;/accumulators/src/accumulators/Three.java&quot;/>&#xA;&lt;/file>&#xA;&lt;file factoryID=&quot;org.eclipse.ui.ide.FileStoreEditorInputFactory&quot; id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Three.java&quot; tooltip=&quot;/home/jacob/Downloads/assignment-four/Three.java&quot;>&#xA;&lt;persistable uri=&quot;file:/home/jacob/Downloads/assignment-four/Three.java&quot;/>&#xA;&lt;/file>&#xA;&lt;/mruList>&#xA;&lt;/workbench>"/>
<tags>activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration</tags> <tags>activeSchemeId:org.eclipse.ui.defaultAcceleratorConfiguration</tags>
<children xsi:type="basic:TrimmedWindow" xmi:id="_Hu-mcZsXEe-qluA09t8VjQ" elementId="IDEWindow" contributorURI="platform:/plugin/org.eclipse.platform" selectedElement="_IFfB8ZsXEe-qluA09t8VjQ" label="%trimmedwindow.label.eclipseSDK" x="26" y="23" width="1418" height="820"> <children xsi:type="basic:TrimmedWindow" xmi:id="_Hu-mcZsXEe-qluA09t8VjQ" elementId="IDEWindow" contributorURI="platform:/plugin/org.eclipse.platform" selectedElement="_IFfB8ZsXEe-qluA09t8VjQ" label="%trimmedwindow.label.eclipseSDK" x="26" y="23" width="1470" height="872">
<persistedState key="coolBarVisible" value="false"/> <persistedState key="coolBarVisible" value="false"/>
<persistedState key="perspectiveBarVisible" value="false"/> <persistedState key="perspectiveBarVisible" value="false"/>
<persistedState key="isRestored" value="true"/> <persistedState key="isRestored" value="true"/>
<persistedState key="workingSets" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;workingSets/>"/> <persistedState key="workingSets" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;workingSets/>"/>
<persistedState key="aggregateWorkingSetId" value="Aggregate for window 1730770912148"/> <persistedState key="aggregateWorkingSetId" value="Aggregate for window 1730770912148"/>
<persistedState key="show_in_time" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;show_in_time/>"/> <persistedState key="show_in_time" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;show_in_time>&#xA;&lt;id IMemento.internal.id=&quot;org.eclipse.jdt.ui.PackageExplorer&quot;/>&#xA;&lt;/show_in_time>"/>
<tags>topLevel</tags> <tags>topLevel</tags>
<tags>shellMaximized</tags> <tags>shellMaximized</tags>
<children xsi:type="basic:PartSashContainer" xmi:id="_IFfB8ZsXEe-qluA09t8VjQ" selectedElement="_IFfpAJsXEe-qluA09t8VjQ" horizontal="true"> <children xsi:type="basic:PartSashContainer" xmi:id="_IFfB8ZsXEe-qluA09t8VjQ" selectedElement="_IFfpAJsXEe-qluA09t8VjQ" horizontal="true">
@@ -139,7 +139,7 @@
</children> </children>
</children> </children>
</children> </children>
<children xsi:type="basic:PartStack" xmi:id="_IQuBpZsXEe-qluA09t8VjQ" elementId="bottom" containerData="3464" selectedElement="_IQuBqpsXEe-qluA09t8VjQ"> <children xsi:type="basic:PartStack" xmi:id="_IQuBpZsXEe-qluA09t8VjQ" elementId="bottom" containerData="3464" selectedElement="_IQuBppsXEe-qluA09t8VjQ">
<tags>org.eclipse.e4.secondaryDataStack</tags> <tags>org.eclipse.e4.secondaryDataStack</tags>
<tags>Java</tags> <tags>Java</tags>
<tags>Debug</tags> <tags>Debug</tags>
@@ -229,29 +229,17 @@
<tags>categoryTag:Help</tags> <tags>categoryTag:Help</tags>
</sharedElements> </sharedElements>
<sharedElements xsi:type="advanced:Area" xmi:id="_IQQukJsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.editorss" selectedElement="_IQQukZsXEe-qluA09t8VjQ"> <sharedElements xsi:type="advanced:Area" xmi:id="_IQQukJsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.editorss" selectedElement="_IQQukZsXEe-qluA09t8VjQ">
<children xsi:type="basic:PartStack" xmi:id="_IQQukZsXEe-qluA09t8VjQ" elementId="org.eclipse.e4.primaryDataStack" selectedElement="_27prEKucEe-WdNkwOBWhfg"> <children xsi:type="basic:PartStack" xmi:id="_IQQukZsXEe-qluA09t8VjQ" elementId="org.eclipse.e4.primaryDataStack" selectedElement="_GKwp8LF5Ee-6AOTT8jghfQ">
<tags>EditorStack</tags> <tags>EditorStack</tags>
<tags>org.eclipse.e4.primaryDataStack</tags> <tags>org.eclipse.e4.primaryDataStack</tags>
<children xsi:type="basic:Part" xmi:id="_DSyOEJu-Ee-KSpYiBbocPw" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Main.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.png" closeable="true"> <children xsi:type="basic:Part" xmi:id="_AjSEELF5Ee-6AOTT8jghfQ" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Main.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.png" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; partName=&quot;Main.java&quot; title=&quot;Main.java&quot; tooltip=&quot;mastermind/src/mastermind/Main.java&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/mastermind/src/mastermind/Main.java&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;166&quot; selectionTopPixel=&quot;136&quot;/>&#xA;&lt;/editor>"/> <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; partName=&quot;Main.java&quot; title=&quot;Main.java&quot; tooltip=&quot;deque/src/deque/Main.java&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/deque/src/deque/Main.java&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;0&quot; selectionTopPixel=&quot;0&quot;/>&#xA;&lt;/editor>"/>
<tags>Editor</tags> <tags>Editor</tags>
<tags>removeOnHide</tags> <tags>removeOnHide</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags> <tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
</children> </children>
<children xsi:type="basic:Part" xmi:id="_TllZcKXKEe-aEv5Zys39ng" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Main.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.png" closeable="true"> <children xsi:type="basic:Part" xmi:id="_GKwp8LF5Ee-6AOTT8jghfQ" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Main.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.png" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; partName=&quot;Main.java&quot; title=&quot;Main.java&quot; tooltip=&quot;fibonacci/src/fibonacci/Main.java&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/fibonacci/src/fibonacci/Main.java&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;2763&quot; selectionTopPixel=&quot;1797&quot;/>&#xA;&lt;/editor>"/> <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; partName=&quot;Main.java&quot; title=&quot;Main.java&quot; tooltip=&quot;trees/src/trees/Main.java&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/trees/src/trees/Main.java&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;99&quot; selectionTopPixel=&quot;0&quot;/>&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>removeOnHide</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
</children>
<children xsi:type="basic:Part" xmi:id="_eOwbMKfFEe-89KOJavelUA" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Main.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.png" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; partName=&quot;Main.java&quot; title=&quot;Main.java&quot; tooltip=&quot;generics/src/generics/Main.java&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/generics/src/generics/Main.java&quot;/>&#xA;&lt;/editor>"/>
<tags>Editor</tags>
<tags>removeOnHide</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
</children>
<children xsi:type="basic:Part" xmi:id="_27prEKucEe-WdNkwOBWhfg" elementId="org.eclipse.e4.ui.compatibility.editor" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor" label="Main.java" iconURI="platform:/plugin/org.eclipse.jdt.ui/icons/full/obj16/jcu_obj.png" closeable="true">
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;editor id=&quot;org.eclipse.jdt.ui.CompilationUnitEditor&quot; name=&quot;Main.java&quot; partName=&quot;Main.java&quot; title=&quot;Main.java&quot; tooltip=&quot;registrar/src/registrar/Main.java&quot;>&#xA;&lt;input factoryID=&quot;org.eclipse.ui.part.FileEditorInputFactory&quot; path=&quot;/registrar/src/registrar/Main.java&quot;/>&#xA;&lt;editorState selectionHorizontalPixel=&quot;0&quot; selectionLength=&quot;0&quot; selectionOffset=&quot;0&quot; selectionTopPixel=&quot;0&quot;/>&#xA;&lt;/editor>"/>
<tags>Editor</tags> <tags>Editor</tags>
<tags>removeOnHide</tags> <tags>removeOnHide</tags>
<tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags> <tags>org.eclipse.jdt.ui.CompilationUnitEditor</tags>
@@ -287,7 +275,7 @@
<sharedElements xsi:type="basic:Part" xmi:id="_IQexApsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.views.ProblemView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.png" tooltip="" closeable="true"> <sharedElements xsi:type="basic:Part" xmi:id="_IQexApsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.views.ProblemView" contributionURI="bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView" label="Problems" iconURI="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.png" tooltip="" closeable="true">
<persistedState key="originalCompatibilityViewClass" value="org.eclipse.ui.internal.views.markers.ProblemsView"/> <persistedState key="originalCompatibilityViewClass" value="org.eclipse.ui.internal.views.markers.ProblemsView"/>
<persistedState key="originalCompatibilityViewBundle" value="org.eclipse.ui.ide"/> <persistedState key="originalCompatibilityViewBundle" value="org.eclipse.ui.ide"/>
<persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;view PRIMARY_SORT_FIELD=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot; categoryGroup=&quot;org.eclipse.ui.ide.severity&quot; markerContentGenerator=&quot;org.eclipse.ui.ide.problemsGenerator&quot;>&#xA;&lt;columnWidths org.eclipse.ui.ide.locationField=&quot;105&quot; org.eclipse.ui.ide.markerType=&quot;105&quot; org.eclipse.ui.ide.pathField=&quot;140&quot; org.eclipse.ui.ide.resourceField=&quot;105&quot; org.eclipse.ui.ide.severityAndDescriptionField=&quot;350&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.resourceField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.pathField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.locationField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.markerType&quot;/>&#xA;&lt;/view>"/> <persistedState key="memento" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>&#xA;&lt;view PRIMARY_SORT_FIELD=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot; categoryGroup=&quot;org.eclipse.ui.ide.severity&quot; markerContentGenerator=&quot;org.eclipse.ui.ide.problemsGenerator&quot;>&#xA;&lt;columnWidths org.eclipse.ui.ide.locationField=&quot;105&quot; org.eclipse.ui.ide.markerType=&quot;105&quot; org.eclipse.ui.ide.pathField=&quot;140&quot; org.eclipse.ui.ide.resourceField=&quot;105&quot; org.eclipse.ui.ide.severityAndDescriptionField=&quot;681&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.severityAndDescriptionField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.resourceField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.pathField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.locationField&quot;/>&#xA;&lt;visible IMemento.internal.id=&quot;org.eclipse.ui.ide.markerType&quot;/>&#xA;&lt;/view>"/>
<tags>View</tags> <tags>View</tags>
<tags>categoryTag:General</tags> <tags>categoryTag:General</tags>
<menus xmi:id="_IggxEJsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.views.ProblemView"> <menus xmi:id="_IggxEJsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.views.ProblemView">
@@ -453,7 +441,7 @@
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_IHlTsJsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.workbench.file"> <children xsi:type="menu:ToolBar" xmi:id="_IHlTsJsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.workbench.file">
<tags>Draggable</tags> <tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_x4bo0KucEe-WdNkwOBWhfg" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_HwBIYpsXEe-qluA09t8VjQ"/> <children xsi:type="menu:HandledToolItem" xmi:id="_xmpFoLF4Ee-6AOTT8jghfQ" elementId="print" visible="false" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/print_edit.png" tooltip="Print" command="_HwBIYpsXEe-qluA09t8VjQ"/>
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_IHlTsZsXEe-qluA09t8VjQ" elementId="group.edit" toBeRendered="false"> <children xsi:type="menu:ToolBar" xmi:id="_IHlTsZsXEe-qluA09t8VjQ" elementId="group.edit" toBeRendered="false">
<tags>toolbarSeparator</tags> <tags>toolbarSeparator</tags>
@@ -461,8 +449,8 @@
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_IHl6wJsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.workbench.edit"> <children xsi:type="menu:ToolBar" xmi:id="_IHl6wJsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.workbench.edit">
<tags>Draggable</tags> <tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_x4cP5KucEe-WdNkwOBWhfg" elementId="undo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/undo_edit.png" tooltip="Undo" enabled="false" command="_Hv5zk5sXEe-qluA09t8VjQ"/> <children xsi:type="menu:HandledToolItem" xmi:id="_xmsI8LF4Ee-6AOTT8jghfQ" elementId="undo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/undo_edit.png" tooltip="Undo" enabled="false" command="_Hv5zk5sXEe-qluA09t8VjQ"/>
<children xsi:type="menu:HandledToolItem" xmi:id="_x4cP5aucEe-WdNkwOBWhfg" elementId="redo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/redo_edit.png" tooltip="Redo" enabled="false" command="_Hv8P25sXEe-qluA09t8VjQ"/> <children xsi:type="menu:HandledToolItem" xmi:id="_xmtXELF4Ee-6AOTT8jghfQ" elementId="redo" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/redo_edit.png" tooltip="Redo" enabled="false" command="_Hv8P25sXEe-qluA09t8VjQ"/>
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_IHl6wZsXEe-qluA09t8VjQ" elementId="additions" toBeRendered="false"> <children xsi:type="menu:ToolBar" xmi:id="_IHl6wZsXEe-qluA09t8VjQ" elementId="additions" toBeRendered="false">
<tags>toolbarSeparator</tags> <tags>toolbarSeparator</tags>
@@ -486,7 +474,7 @@
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_IHmh0JsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.workbench.navigate"> <children xsi:type="menu:ToolBar" xmi:id="_IHmh0JsXEe-qluA09t8VjQ" elementId="org.eclipse.ui.workbench.navigate">
<tags>Draggable</tags> <tags>Draggable</tags>
<children xsi:type="menu:HandledToolItem" xmi:id="_x4c28KucEe-WdNkwOBWhfg" elementId="org.eclipse.ui.window.pinEditor" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" type="Check" command="_HwAhNZsXEe-qluA09t8VjQ"/> <children xsi:type="menu:HandledToolItem" xmi:id="_xmwaYLF4Ee-6AOTT8jghfQ" elementId="org.eclipse.ui.window.pinEditor" iconURI="platform:/plugin/org.eclipse.ui/icons/full/etool16/pin_editor.png" tooltip="Pin Editor" enabled="false" type="Check" command="_HwAhNZsXEe-qluA09t8VjQ"/>
</children> </children>
<children xsi:type="menu:ToolBar" xmi:id="_IHmh0ZsXEe-qluA09t8VjQ" elementId="group.editor" toBeRendered="false"> <children xsi:type="menu:ToolBar" xmi:id="_IHmh0ZsXEe-qluA09t8VjQ" elementId="group.editor" toBeRendered="false">
<tags>toolbarSeparator</tags> <tags>toolbarSeparator</tags>

View File

@@ -1,10 +1,9 @@
INDEX VERSION 1.134+/home/jacob/Projects/CS3/.metadata/.plugins/org.eclipse.jdt.core INDEX VERSION 1.134+/home/jacob/School/CS3/.metadata/.plugins/org.eclipse.jdt.core
3443351165.index
3024544230.index
1865797976.index
972395290.index 972395290.index
1012296427.index 500292351.index
3659629937.index 783481251.index
3051291202.index 1865797976.index
365334263.index 365334263.index
3051291202.index
3487212494.index 3487212494.index
2954488155.index

View File

@@ -35,16 +35,16 @@
<section name="JavaProjectWizard.dialogBounds"> <section name="JavaProjectWizard.dialogBounds">
<item key="DIALOG_X_ORIGIN" value="20"/> <item key="DIALOG_X_ORIGIN" value="20"/>
<item key="DIALOG_Y_ORIGIN" value="20"/> <item key="DIALOG_Y_ORIGIN" value="20"/>
<item key="DIALOG_WIDTH" value="815"/> <item key="DIALOG_WIDTH" value="817"/>
<item key="DIALOG_HEIGHT" value="691"/> <item key="DIALOG_HEIGHT" value="691"/>
<item key="DIALOG_FONT_NAME" value="1|Cantarell|11.0|0|GTK|1|"/> <item key="DIALOG_FONT_NAME" value="1|IBM Plex Sans|11.0|0|GTK|1|"/>
</section> </section>
<section name="NewClassCreationWizard.dialogBounds"> <section name="NewClassCreationWizard.dialogBounds">
<item key="DIALOG_X_ORIGIN" value="20"/> <item key="DIALOG_X_ORIGIN" value="20"/>
<item key="DIALOG_Y_ORIGIN" value="20"/> <item key="DIALOG_Y_ORIGIN" value="20"/>
<item key="DIALOG_WIDTH" value="664"/> <item key="DIALOG_WIDTH" value="669"/>
<item key="DIALOG_HEIGHT" value="691"/> <item key="DIALOG_HEIGHT" value="691"/>
<item key="DIALOG_FONT_NAME" value="1|Cantarell|11.0|0|GTK|1|"/> <item key="DIALOG_FONT_NAME" value="1|IBM Plex Sans|11.0|0|GTK|1|"/>
</section> </section>
<section name="OptionalMessageDialog.hide."> <section name="OptionalMessageDialog.hide.">
<item key="org.eclipse.jdt.ui.typecomment.deprecated" value="true"/> <item key="org.eclipse.jdt.ui.typecomment.deprecated" value="true"/>

View File

@@ -7,17 +7,26 @@
<item key="WizardProjectsImportPage.STORE_CLOSE_CREATED_PROJECTS_ID" value="false"/> <item key="WizardProjectsImportPage.STORE_CLOSE_CREATED_PROJECTS_ID" value="false"/>
<item key="WizardProjectsImportPage.STORE_HIDE_CONFLICTING_PROJECTS_ID" value="false"/> <item key="WizardProjectsImportPage.STORE_HIDE_CONFLICTING_PROJECTS_ID" value="false"/>
<list key="WizardProjectsImportPage.STORE_DIRECTORIES"> <list key="WizardProjectsImportPage.STORE_DIRECTORIES">
<item value="/home/jacob/School/CS3"/>
<item value="/home/jacob/CS3"/> <item value="/home/jacob/CS3"/>
</list> </list>
<list key="WizardProjectsImportPage.STORE_ARCHIVES"> <list key="WizardProjectsImportPage.STORE_ARCHIVES">
<item value=""/> <item value=""/>
</list> </list>
<section name="ExternalProjectImportWizard.dialogBounds"> <section name="ExternalProjectImportWizard.dialogBounds">
<item key="DIALOG_X_ORIGIN" value="0"/>
<item key="DIALOG_Y_ORIGIN" value="0"/>
<item key="DIALOG_WIDTH" value="613"/>
<item key="DIALOG_HEIGHT" value="691"/>
<item key="DIALOG_FONT_NAME" value="1|IBM Plex Sans|11.0|0|GTK|1|"/>
</section>
</section>
<section name="ChooseWorkspaceDialogSettings">
<item key="DIALOG_X_ORIGIN" value="20"/> <item key="DIALOG_X_ORIGIN" value="20"/>
<item key="DIALOG_Y_ORIGIN" value="20"/> <item key="DIALOG_Y_ORIGIN" value="20"/>
<item key="DIALOG_WIDTH" value="613"/>
<item key="DIALOG_HEIGHT" value="796"/>
<item key="DIALOG_FONT_NAME" value="1|Cantarell|11.0|0|GTK|1|"/>
</section> </section>
<section name="WORKBENCH_SETTINGS">
<list key="ENABLED_TRANSFERS">
</list>
</section> </section>
</section> </section>

View File

@@ -1,3 +1,3 @@
#Mon Nov 25 21:18:51 EST 2024 #Tue Dec 03 08:16:11 EST 2024
org.eclipse.core.runtime=2 org.eclipse.core.runtime=2
org.eclipse.platform=4.33.0.v20240903-0240 org.eclipse.platform=4.33.0.v20240903-0240

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="/home/jacob/Projects/CS3/libs/javalib.jar"/>
<classpathentry kind="lib" path="/home/jacob/Projects/CS3/libs/tester.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

28
deque/.project Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>deque</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1733232021426</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8

View File

@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=21
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=21

68
deque/src/deque/Main.java Normal file
View File

@@ -0,0 +1,68 @@
package deque;
import tester.Tester;
class Examples {
Sentinel<String> exampleSentinel;
void init() {
exampleSentinel = new Sentinel<String>();
}
void testSentinel(Tester t) {
init();
t.checkExpect(exampleSentinel.nxt, exampleSentinel);
}
}
// A doubly-linked list element.
abstract class ANode<PointsTo> {
PointsTo nxt; // Next element.
PointsTo pre; // Previous element.
ANode(PointsTo nxt, PointsTo pre) {
this.nxt = nxt;
this.pre = pre;
}
}
// Self-referential node.
abstract class ASRefNode {
ASRefNode nxt;
ASRefNode pre;
ASRefNode() {
this.nxt = this;
this.pre = this;
}
}
class Deque<A> {
Sentinel<A> sentinel;
Deque(Sentinel<A> sentinel) {
this.sentinel = sentinel;
}
}
class Sentinel<T> extends ANode<ANode<T>> {
Sentinel() {
super(null, null);
this.nxt = this;
}
}
class Node<T> extends ANode<Node<T>> {
T val;
Node(T val) {
super(null, null);
this.val = val;
}
}

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="/home/jacob/Projects/CS3/libs/javalib.jar"/>
<classpathentry kind="lib" path="/home/jacob/Projects/CS3/libs/tester.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>