Commit d476add1 authored by Adam Blank's avatar Adam Blank
Browse files

Initial Commit

parents
No related merge requests found
Pipeline #36403 canceled with stage
Showing with 960 additions and 0 deletions
+960 -0
static:
script: /testers/cs2/project03/static/test
A:
script: /testers/cs2/project03/suite/test
B:
script: /testers/cs2/project03/suite/test
C:
script: /testers/cs2/project03/suite/test
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CheckStyle-IDEA">
<option name="configuration">
<map>
<entry key="checkstyle-version" value="8.13" />
<entry key="copy-libs" value="false" />
<entry key="location-0" value="BUNDLED:(bundled):Sun Checks" />
<entry key="location-1" value="BUNDLED:(bundled):Google Checks" />
<entry key="scan-before-checkin" value="false" />
<entry key="scanscope" value="JavaOnly" />
<entry key="suppress-errors" value="false" />
</map>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project>
\ No newline at end of file
<component name="libraryTable">
<library name="com.github.javaparser:javaparser-core:3.5.12" type="repository">
<properties maven-id="com.github.javaparser:javaparser-core:3.5.12" />
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/github/javaparser/javaparser-core/3.5.12/javaparser-core-3.5.12.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="org.hamcrest:hamcrest:2.2" type="repository">
<properties maven-id="org.hamcrest:hamcrest:2.2" />
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="org.hamcrest:hamcrest-core:2.2" type="repository">
<properties maven-id="org.hamcrest:hamcrest-core:2.2" />
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/2.2/hamcrest-core-2.2.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest/2.2/hamcrest-2.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
\ No newline at end of file
<component name="libraryTable">
<library name="org.junit.jupiter:junit-jupiter:5.6.0-M1" type="repository">
<properties maven-id="org.junit.jupiter:junit-jupiter:5.6.0-M1" />
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter/5.6.0-M1/junit-jupiter-5.6.0-M1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-api/5.6.0-M1/junit-jupiter-api-5.6.0-M1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apiguardian/apiguardian-api/1.1.0/apiguardian-api-1.1.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/opentest4j/opentest4j/1.2.0/opentest4j-1.2.0.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-commons/1.6.0-M1/junit-platform-commons-1.6.0-M1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-params/5.6.0-M1/junit-jupiter-params-5.6.0-M1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/jupiter/junit-jupiter-engine/5.6.0-M1/junit-jupiter-engine-5.6.0-M1.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/junit/platform/junit-platform-engine/1.6.0-M1/junit-platform-engine-1.6.0-M1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavadocGenerationManager">
<option name="OUTPUT_DIRECTORY" value="$PROJECT_DIR$/doc" />
<option name="OPTION_SCOPE" value="public" />
<option name="OTHER_OPTIONS" value="-link https://docs.oracle.com/javase/8/docs/api/" />
<option name="OPTION_INCLUDE_LIBS" value="true" />
</component>
<component name="PreferredVcsStorage">
<preferredVcsName>ApexVCS</preferredVcsName>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" 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$/project03-guitar.iml" filepath="$PROJECT_DIR$/project03-guitar.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</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"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="30253f76-3bec-4105-abbd-56ec3c2c3114" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="Interface" />
<option value="Class" />
</list>
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
<option name="SET_USER_NAME_GLOBALLY" value="false" />
</component>
<component name="IgnoredFileRootStore">
<option name="generatedRoots">
<set>
<option value="C:\Users\ethan\Documents\devel\cs2-wi20-project03-fix\.idea" />
</set>
</option>
</component>
<component name="ProjectId" id="1TiQOxb43nUvszkonuBQNG9h4pe" />
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showExcludedFiles" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">
<property name="ASKED_ADD_EXTERNAL_FILES" value="true" />
<property name="ASKED_SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="Downloaded.Files.Path.Enabled" value="false" />
<property name="Repository.Attach.Annotations" value="false" />
<property name="Repository.Attach.JavaDocs" value="false" />
<property name="Repository.Attach.Sources" value="false" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/.idea/libraries" />
<property name="project.structure.last.edited" value="Libraries" />
<property name="project.structure.proportion" value="0.15" />
<property name="project.structure.side.proportion" value="0.39655173" />
<property name="settings.editor.selected.configurable" value="project.propVCSSupport.Mappings" />
</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\Users\ethan\Documents\devel\cs2-wi20-project03-fix" />
</key>
<key name="CopyFile.RECENT_KEYS">
<recent name="C:\Users\ethan\Documents\devel\cs2-wi20-project03-fix\.idea\libraries" />
<recent name="C:\Users\ethan\Documents\devel\cs2-wi20-project03-fix" />
</key>
</component>
<component name="RunManager" selected="JUnit.A Tests">
<configuration name="A Tests" type="JUnit" factoryName="JUnit">
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="tags" />
<option name="PARAMETERS" value="" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="wholeProject" />
</option>
<tag value="A" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="B Tests" type="JUnit" factoryName="JUnit">
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="tags" />
<option name="PARAMETERS" value="" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="wholeProject" />
</option>
<tag value="B" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="C Tests" type="JUnit" factoryName="JUnit">
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="tags" />
<option name="PARAMETERS" value="" />
<option name="TEST_SEARCH_SCOPE">
<value defaultName="wholeProject" />
</option>
<tag value="C" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<list>
<item itemvalue="JUnit.C Tests" />
<item itemvalue="JUnit.B Tests" />
<item itemvalue="JUnit.A Tests" />
</list>
</component>
<component name="ServiceViewManager">
<option name="viewStates">
<list>
<serviceView>
<treeState>
<expand />
<select />
</treeState>
</serviceView>
</list>
</option>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="30253f76-3bec-4105-abbd-56ec3c2c3114" name="Default Changelist" comment="" />
<created>1573940407577</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1573940407577</updated>
</task>
<task id="LOCAL-00001" summary="Added base project 03 code in own repo">
<created>1573940654553</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1573940654553</updated>
</task>
<task id="LOCAL-00002" summary="Added base project 03 code in own repo">
<created>1573950841802</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1573950841802</updated>
</task>
<task id="LOCAL-00003" summary="Moved Collection tests to abstract test file">
<created>1573968665825</created>
<option name="number" value="00003" />
<option name="presentableId" value="LOCAL-00003" />
<option name="project" value="LOCAL" />
<updated>1573968665825</updated>
</task>
<task id="LOCAL-00004" summary="Moved Deque tests to abstract test file">
<created>1574050526957</created>
<option name="number" value="00004" />
<option name="presentableId" value="LOCAL-00004" />
<option name="project" value="LOCAL" />
<updated>1574050526957</updated>
</task>
<task id="LOCAL-00005" summary="Switched to interfaces">
<created>1574051797218</created>
<option name="number" value="00005" />
<option name="presentableId" value="LOCAL-00005" />
<option name="project" value="LOCAL" />
<updated>1574051797218</updated>
</task>
<task id="LOCAL-00006" summary="Moved Queue tests to interface">
<created>1574053651480</created>
<option name="number" value="00006" />
<option name="presentableId" value="LOCAL-00006" />
<option name="project" value="LOCAL" />
<updated>1574053651480</updated>
</task>
<task id="LOCAL-00007" summary="typo">
<created>1574053715885</created>
<option name="number" value="00007" />
<option name="presentableId" value="LOCAL-00007" />
<option name="project" value="LOCAL" />
<updated>1574053715885</updated>
</task>
<task id="LOCAL-00008" summary="Switched LinkedDeque to new test layout">
<created>1574054307935</created>
<option name="number" value="00008" />
<option name="presentableId" value="LOCAL-00008" />
<option name="project" value="LOCAL" />
<updated>1574054307935</updated>
</task>
<task id="LOCAL-00009" summary="Changed CircularArrayFixedSizeQueue to use interface testing">
<created>1575677829010</created>
<option name="number" value="00009" />
<option name="presentableId" value="LOCAL-00009" />
<option name="project" value="LOCAL" />
<updated>1575677829010</updated>
</task>
<task id="LOCAL-00010" summary="Moved ordering for C tests to constants file">
<created>1575767108059</created>
<option name="number" value="00010" />
<option name="presentableId" value="LOCAL-00010" />
<option name="project" value="LOCAL" />
<updated>1575767108059</updated>
</task>
<task id="LOCAL-00011" summary="Moved B tests to use constants ordering">
<created>1575767522232</created>
<option name="number" value="00011" />
<option name="presentableId" value="LOCAL-00011" />
<option name="project" value="LOCAL" />
<updated>1575767522232</updated>
</task>
<task id="LOCAL-00012" summary="Move A tests to use constants ordering">
<created>1575767882620</created>
<option name="number" value="00012" />
<option name="presentableId" value="LOCAL-00012" />
<option name="project" value="LOCAL" />
<updated>1575767882620</updated>
</task>
<task id="LOCAL-00013" summary="Added libraries">
<created>1579045977816</created>
<option name="number" value="00013" />
<option name="presentableId" value="LOCAL-00013" />
<option name="project" value="LOCAL" />
<updated>1579045977816</updated>
</task>
<task id="LOCAL-00014" summary="Refactor test creation of guitarstring and queue access">
<created>1579046251156</created>
<option name="number" value="00014" />
<option name="presentableId" value="LOCAL-00014" />
<option name="project" value="LOCAL" />
<updated>1579046251156</updated>
</task>
<option name="localTasksCounter" value="15" />
<servers />
</component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State>
<option name="COLUMN_ORDER" />
</State>
</value>
</entry>
</map>
</option>
</component>
<component name="VcsManagerConfiguration">
<ignored-roots>
<path value="$USER_HOME$" />
</ignored-roots>
<MESSAGE value="Added base project 03 code in own repo" />
<MESSAGE value="Moved Collection tests to abstract test file" />
<MESSAGE value="Moved Deque tests to abstract test file" />
<MESSAGE value="Switched to interfaces" />
<MESSAGE value="Moved Queue tests to interface" />
<MESSAGE value="typo" />
<MESSAGE value="Switched LinkedDeque to new test layout" />
<MESSAGE value="Changed CircularArrayFixedSizeQueue to use interface testing" />
<MESSAGE value="Moved ordering for C tests to constants file" />
<MESSAGE value="Moved B tests to use constants ordering" />
<MESSAGE value="Move A tests to use constants ordering" />
<MESSAGE value="Added libraries" />
<MESSAGE value="Refactor test creation of guitarstring and queue access" />
<option name="LAST_COMMIT_MESSAGE" value="Refactor test creation of guitarstring and queue access" />
</component>
<component name="WindowStateProjectService">
<state x="2577" y="87" key="#LinkedDequeTests" timestamp="1575768356081">
<screen x="1920" y="-150" width="2101" height="1142" />
</state>
<state x="2577" y="87" key="#LinkedDequeTests/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575768356081" />
<state x="2426" y="76" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1575769477803">
<screen x="1920" y="-150" width="2101" height="1142" />
</state>
<state x="2426" y="76" key="#com.intellij.execution.impl.EditConfigurationsDialog/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575769477803" />
<state x="344" y="0" key="CommitChangelistDialog2" timestamp="1579046250421">
<screen x="0" y="0" width="1280" height="680" />
</state>
<state x="344" y="0" key="CommitChangelistDialog2/0.0.1280.680@0.0.1280.680" timestamp="1579046250421" />
<state x="423" y="18" key="CommitChangelistDialog2/0.0.1575.846/1920.-150.2101.1142@0.0.1575.846" timestamp="1575677828411" />
<state x="2484" y="-126" key="CommitChangelistDialog2/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575769511780" />
<state width="1237" height="154" key="GridCell.Tab.0.bottom" timestamp="1579045981456">
<screen x="0" y="0" width="1280" height="680" />
</state>
<state width="1237" height="154" key="GridCell.Tab.0.bottom/0.0.1280.680@0.0.1280.680" timestamp="1579045981456" />
<state width="2057" height="284" key="GridCell.Tab.0.bottom/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575769472181" />
<state width="1237" height="154" key="GridCell.Tab.0.center" timestamp="1579045981456">
<screen x="0" y="0" width="1280" height="680" />
</state>
<state width="1237" height="154" key="GridCell.Tab.0.center/0.0.1280.680@0.0.1280.680" timestamp="1579045981456" />
<state width="2057" height="284" key="GridCell.Tab.0.center/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575769472180" />
<state width="1237" height="154" key="GridCell.Tab.0.left" timestamp="1579045981456">
<screen x="0" y="0" width="1280" height="680" />
</state>
<state width="1237" height="154" key="GridCell.Tab.0.left/0.0.1280.680@0.0.1280.680" timestamp="1579045981456" />
<state width="2057" height="284" key="GridCell.Tab.0.left/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575769472180" />
<state width="1237" height="154" key="GridCell.Tab.0.right" timestamp="1579045981456">
<screen x="0" y="0" width="1280" height="680" />
</state>
<state width="1237" height="154" key="GridCell.Tab.0.right/0.0.1280.680@0.0.1280.680" timestamp="1579045981456" />
<state width="2057" height="284" key="GridCell.Tab.0.right/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575769472181" />
<state x="142" y="0" key="SettingsEditor" timestamp="1579045772942">
<screen x="0" y="0" width="1280" height="680" />
</state>
<state x="142" y="0" key="SettingsEditor/0.0.1280.680@0.0.1280.680" timestamp="1579045772942" />
<state x="309" y="126" key="Vcs.Push.Dialog.v2" timestamp="1579046411262">
<screen x="0" y="0" width="1280" height="680" />
</state>
<state x="309" y="126" key="Vcs.Push.Dialog.v2/0.0.1280.680@0.0.1280.680" timestamp="1579046411262" />
<state x="381" y="156" key="Vcs.Push.Dialog.v2/0.0.1575.846/1920.-150.2101.1142@0.0.1575.846" timestamp="1575677831175" />
<state x="2428" y="61" key="Vcs.Push.Dialog.v2/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575767884006" />
<state x="396" y="235" key="com.intellij.jarRepository.RepositoryAttachDialog-DOWNLOAD" timestamp="1579045770911">
<screen x="0" y="0" width="1280" height="680" />
</state>
<state x="396" y="235" key="com.intellij.jarRepository.RepositoryAttachDialog-DOWNLOAD/0.0.1280.680@0.0.1280.680" timestamp="1579045770911" />
<state x="2728" y="309" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2" timestamp="1575769519844">
<screen x="1920" y="-150" width="2101" height="1142" />
</state>
<state x="606" y="340" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2/0.0.1575.846/1920.-150.2101.1142@0.0.1575.846" timestamp="1575753059313" />
<state x="2728" y="309" key="com.intellij.openapi.vcs.update.UpdateOrStatusOptionsDialogupdate-v2/0.0.1575.846/1920.-150.2101.1142@1920.-150.2101.1142" timestamp="1575769519844" />
</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" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="data-structures" />
<orderEntry type="library" name="com.github.javaparser:javaparser-core:3.5.12" level="project" />
<orderEntry type="library" scope="TEST" name="org.hamcrest:hamcrest-all:1.3" level="project" />
<orderEntry type="library" name="org.junit.jupiter:junit-jupiter-params:5.4.0" level="project" />
<orderEntry type="library" name="org.junit.jupiter:junit-jupiter:5.6.0-M1" level="project" />
<orderEntry type="library" name="org.hamcrest:hamcrest:2.2" level="project" />
<orderEntry type="library" name="org.hamcrest:hamcrest-core:2.2" level="project" />
</component>
</module>
\ No newline at end of file
package edu.caltech.cs2.datastructures;
import edu.caltech.cs2.interfaces.IDeque;
import edu.caltech.cs2.interfaces.IQueue;
import edu.caltech.cs2.interfaces.IStack;
import java.util.Iterator;
public class ArrayDeque<E> implements IDeque<E>, IQueue<E>, IStack<E> {
@Override
public void addFront(E e) {
}
@Override
public void addBack(E e) {
}
@Override
public E removeFront() {
return null;
}
@Override
public E removeBack() {
return null;
}
@Override
public boolean enqueue(E e) {
return false;
}
@Override
public E dequeue() {
return null;
}
@Override
public boolean push(E e) {
return false;
}
@Override
public E pop() {
return null;
}
@Override
public E peek() {
return null;
}
@Override
public E peekFront() {
return null;
}
@Override
public E peekBack() {
return null;
}
@Override
public Iterator<E> iterator() {
return null;
}
@Override
public int size() {
return 0;
}
}
package edu.caltech.cs2.datastructures;
import edu.caltech.cs2.interfaces.IFixedSizeQueue;
import java.util.Iterator;
public class CircularArrayFixedSizeQueue<E> implements IFixedSizeQueue<E> {
@Override
public boolean isFull() {
return false;
}
@Override
public int capacity() {
return 0;
}
@Override
public boolean enqueue(E e) {
return false;
}
@Override
public E dequeue() {
return null;
}
@Override
public E peek() {
return null;
}
@Override
public int size() {
return 0;
}
@Override
public Iterator<E> iterator() {
return null;
}
}
package edu.caltech.cs2.datastructures;
import edu.caltech.cs2.interfaces.IDeque;
import edu.caltech.cs2.interfaces.IQueue;
import edu.caltech.cs2.interfaces.IStack;
import java.util.Iterator;
public class LinkedDeque<E> implements IDeque<E>, IQueue<E>, IStack<E> {
@Override
public void addFront(E e) {
}
@Override
public void addBack(E e) {
}
@Override
public E removeFront() {
return null;
}
@Override
public E removeBack() {
return null;
}
@Override
public boolean enqueue(E e) {
return false;
}
@Override
public E dequeue() {
return null;
}
@Override
public boolean push(E e) {
return false;
}
@Override
public E pop() {
return null;
}
@Override
public E peek() {
return null;
}
@Override
public E peekFront() {
return null;
}
@Override
public E peekBack() {
return null;
}
@Override
public Iterator<E> iterator() {
return null;
}
@Override
public int size() {
return 0;
}
}
package edu.caltech.cs2.interfaces;
import java.util.Iterator;
/**
* This interface represents some group or collection of elements.
* @param <E> Element type
*/
public interface ICollection<E> extends Iterable<E> {
/**
* Add an element to the collection.
* @param e Element to add
*/
public void add(E e);
/**
* Removes all elements from the collection.
*/
public void clear();
/**
* Generates an iterator over the collection.
* @return Iterator over the collection
*/
public Iterator<E> iterator();
/**
* Checks if an element is contained in the collection.
* @param e Element to check for
* @return True if element is contained in collection, false otherwise
*/
default public boolean contains(E e) {
for (E item : this) {
if (e == null ? item == null : e.equals(item)) {
return true;
}
}
return false;
}
/**
* Calculates the size of the collection.
* @return Number of elements in the collection
*/
public int size();
/**
* Checks whether the collection contains no elements.
* @return True if no elements are contained, false otherwise
*/
default public boolean isEmpty() {
return this.size() == 0;
}
}
package edu.caltech.cs2.interfaces;
/**
* This interface represents a deque - a data structure that can add and remove elements from either end of a list.
* @param <E> Element type
*/
public interface IDeque<E> extends ICollection<E> {
/**
* Add an element to the front end of the deque.
* @param e Element to add
*/
public void addFront(E e);
/**
* Add an element to the back end of the deque.
* @param e Element to add
*/
public void addBack(E e);
/**
* Adds an element to the collection.
* @param e Element to add
*/
default public void add(E e){
this.addFront(e);
}
/**
* Adds a collection of elements to this collection.
* @param c Collection of elements to add
*/
default public void addAll(ICollection<E> c) {
for (E e : c) {
this.add(e);
}
}
/**
* Removes and returns the element at the front end of the deque. Returns null if deque is empty.
* @return Element at front, if one exists; null otherwise
*/
public E removeFront();
/**
* Removes and returns the element at the back end of the deque. Returns null if deque is empty.
* @return Element at back, if one exists; null otherwise
*/
public E removeBack();
/**
* Removes all elements in the deque.
*/
default public void clear() {
while (!this.isEmpty()) {
this.removeBack();
}
}
/**
* Returns (but does not remove) the element at one end of the deque. Returns null if deque is empty.
* Note: The side you peek from should be chosen such that both the IQueue and IStack interfaces are implemented correctly.
* @return Element at one end, if one exists; null otherwise
*/
public E peek();
/**
* Returns (but does not remove) the element at the front end of the deque. Returns null if deque is empty.
* @return Element at front, if one exists; null otherwise
*/
public E peekFront();
/**
* Returns (but does not remove) the element at the back end of the deque. Returns null if deque is empty.
* @return Element at back, if one exists; null otherwise
*/
public E peekBack();
}
package edu.caltech.cs2.interfaces;
/**
* This interface represents a fixed-size queue - a queue with a constant and finite capacity.
* @param <E> Element type
*/
public interface IFixedSizeQueue<E> extends IQueue<E> {
/**
* Checks whether the fixed-size queue is full.
* @return True if full, false otherwise
*/
public boolean isFull();
/**
* Calculates the maximum capacity of the queue.
* @return Maximum capacity of the queue
*/
public int capacity();
}
\ No newline at end of file
package edu.caltech.cs2.interfaces;
/**
* This interface represents a queue - a data structure that can add elements at one end and remove them from the other.
* @param <E> Element type
*/
public interface IQueue<E> extends Iterable<E> {
/**
* Adds an element to the back of the queue.
* @param e Element to add
* @return True if successful, false otherwise (i.e. fixed data structure is full)
*/
public boolean enqueue(E e);
/**
* Removes and returns the element at the front of the queue. Returns null if queue is empty.
* @return Element at front of queue, if one exists; null otherwise
*/
public E dequeue();
/**
* Returns (but does not remove) the element at the front of the queue. Returns null if queue is empty.
* @return Element at front of queue, if one exists; null otherwise
*/
public E peek();
/**
* Calculates the size of the queue.
* @return Number of elements in the queue
*/
public int size();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment