Leon преди 5 години
ревизия
20f5ac6892
променени са 24 файла, в които са добавени 1222 реда и са изтрити 0 реда
  1. 158
    0
      .gitignore
  2. 13
    0
      .idea/compiler.xml
  3. 14
    0
      .idea/misc.xml
  4. 0
    0
      .idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec
  5. 6
    0
      .idea/sonarlint/issuestore/8/7/8703cfe2e0e2398a246921ca14c5f43ee720d7d8
  6. 11
    0
      .idea/sonarlint/issuestore/e/f/ef73d72ebc35aacb637c7f5f30c8e627a8bf4e08
  7. 7
    0
      .idea/sonarlint/issuestore/index.pb
  8. 124
    0
      .idea/uiDesigner.xml
  9. 648
    0
      .idea/workspace.xml
  10. 20
    0
      pom.xml
  11. 2
    0
      quiz3a.iml
  12. 25
    0
      src/main/java/rocks/zipcode/quiz3a/collections/Bank.java
  13. 34
    0
      src/main/java/rocks/zipcode/quiz3a/collections/Food.java
  14. 35
    0
      src/main/java/rocks/zipcode/quiz3a/fundamentals/Calculator.java
  15. 21
    0
      src/main/java/rocks/zipcode/quiz3a/fundamentals/StringUtils.java
  16. 35
    0
      src/main/java/rocks/zipcode/quiz3a/objectorientation/BankAccount.java
  17. 7
    0
      src/main/java/rocks/zipcode/quiz3a/objectorientation/Condiment.java
  18. 7
    0
      src/main/java/rocks/zipcode/quiz3a/objectorientation/Ginger.java
  19. 7
    0
      src/main/java/rocks/zipcode/quiz3a/objectorientation/Pepper.java
  20. 7
    0
      src/main/java/rocks/zipcode/quiz3a/objectorientation/Spice.java
  21. 19
    0
      src/test/java/rocks/zipcode/quiz3a/collections/food/GetSpiceCountTest.java
  22. 22
    0
      src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/SpicePolymorphismTest.java
  23. BIN
      target/classes/rocks/zipcode/quiz3a/fundamentals/Calculator.class
  24. BIN
      target/classes/rocks/zipcode/quiz3a/fundamentals/StringUtils.class

+ 158
- 0
.gitignore Целия файл

@@ -0,0 +1,158 @@
1
+    # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
2
+    # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
3
+
4
+    # User-specific stuff:
5
+    .idea/**/workspace.xml
6
+    .idea/**/tasks.xml
7
+    .idea/dictionaries
8
+
9
+    # Sensitive or high-churn files:
10
+    .idea/**/dataSources/
11
+    .idea/**/dataSources.ids
12
+    .idea/**/dataSources.xml
13
+    .idea/**/dataSources.local.xml
14
+    .idea/**/sqlDataSources.xml
15
+    .idea/**/dynamic.xml
16
+    .idea/**/uiDesigner.xml
17
+
18
+    # Gradle:
19
+    .idea/**/gradle.xml
20
+    .idea/**/libraries
21
+
22
+    # CMake
23
+    cmake-build-debug/
24
+
25
+    # Mongo Explorer plugin:
26
+    .idea/**/mongoSettings.xml
27
+
28
+    ## File-based project format:
29
+    *.iws
30
+
31
+    ## Plugin-specific files:
32
+
33
+    # IntelliJ
34
+    /out/
35
+
36
+    # mpeltonen/sbt-idea plugin
37
+    .idea_modules/
38
+    # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
39
+    # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
40
+
41
+    # User-specific stuff:
42
+    *.iml
43
+    .idea/**
44
+    .idea/**/workspace.xml
45
+    .idea/**/tasks.xml
46
+    .idea/dictionaries
47
+
48
+    # Sensitive or high-churn files:
49
+    .idea/**/dataSources/
50
+    .idea/**/dataSources.ids
51
+    .idea/**/dataSources.xml
52
+    .idea/**/dataSources.local.xml
53
+    .idea/**/sqlDataSources.xml
54
+    .idea/**/dynamic.xml
55
+    .idea/**/uiDesigner.xml
56
+
57
+    # Gradle:
58
+    .idea/**/gradle.xml
59
+    .idea/**/libraries
60
+
61
+    # CMake
62
+    cmake-build-debug/
63
+
64
+    # Mongo Explorer plugin:
65
+    .idea/**/mongoSettings.xml
66
+
67
+    ## File-based project format:
68
+    *.iws
69
+
70
+    ## Plugin-specific files:
71
+
72
+    # IntelliJ
73
+    /out/
74
+
75
+    # mpeltonen/sbt-idea plugin
76
+    .idea_modules/
77
+
78
+    # JIRA plugin
79
+    atlassian-ide-plugin.xml
80
+
81
+    # Cursive Clojure plugin
82
+    .idea/replstate.xml
83
+
84
+    # Crashlytics plugin (for Android Studio and IntelliJ)
85
+    com_crashlytics_export_strings.xml
86
+    crashlytics.properties
87
+    crashlytics-build.properties
88
+    fabric.properties# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
89
+                     # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
90
+
91
+                     # User-specific stuff:
92
+                     .idea/**/workspace.xml
93
+                     .idea/**/tasks.xml
94
+                     .idea/dictionaries
95
+
96
+                     # Sensitive or high-churn files:
97
+                     .idea/**/dataSources/
98
+                     .idea/**/dataSources.ids
99
+                     .idea/**/dataSources.xml
100
+                     .idea/**/dataSources.local.xml
101
+                     .idea/**/sqlDataSources.xml
102
+                     .idea/**/dynamic.xml
103
+                     .idea/**/uiDesigner.xml
104
+
105
+                     # Gradle:
106
+                     .idea/**/gradle.xml
107
+                     .idea/**/libraries
108
+
109
+                     # CMake
110
+                     cmake-build-debug/
111
+
112
+                     # Mongo Explorer plugin:
113
+                     .idea/**/mongoSettings.xml
114
+
115
+                     ## File-based project format:
116
+                     *.iws
117
+
118
+                     ## Plugin-specific files:
119
+
120
+                     # IntelliJ
121
+                     /out/
122
+
123
+                     # mpeltonen/sbt-idea plugin
124
+                     .idea_modules/
125
+
126
+                     # JIRA plugin
127
+                     atlassian-ide-plugin.xml
128
+
129
+                     # Cursive Clojure plugin
130
+                     .idea/replstate.xml
131
+
132
+                     # Crashlytics plugin (for Android Studio and IntelliJ)
133
+                     com_crashlytics_export_strings.xml
134
+                     crashlytics.properties
135
+                     crashlytics-build.properties
136
+                     fabric.properties
137
+    # JIRA plugin
138
+    atlassian-ide-plugin.xml
139
+
140
+    # Cursive Clojure plugin
141
+    .idea/replstate.xml
142
+
143
+    # Crashlytics plugin (for Android Studio and IntelliJ)
144
+    com_crashlytics_export_strings.xml
145
+    crashlytics.properties
146
+    crashlytics-build.properties
147
+    fabric.properties
148
+
149
+    .project
150
+    .classpath
151
+    .settings
152
+
153
+
154
+    #maven build target
155
+    target/
156
+
157
+    .DS_Store
158
+    .idea

+ 13
- 0
.idea/compiler.xml Целия файл

@@ -0,0 +1,13 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="CompilerConfiguration">
4
+    <annotationProcessing>
5
+      <profile name="Maven default annotation processors profile" enabled="true">
6
+        <sourceOutputDir name="target/generated-sources/annotations" />
7
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8
+        <outputRelativeToContentRoot value="true" />
9
+        <module name="quiz3a" />
10
+      </profile>
11
+    </annotationProcessing>
12
+  </component>
13
+</project>

+ 14
- 0
.idea/misc.xml Целия файл

@@ -0,0 +1,14 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ExternalStorageConfigurationManager" enabled="true" />
4
+  <component name="MavenProjectsManager">
5
+    <option name="originalFiles">
6
+      <list>
7
+        <option value="$PROJECT_DIR$/pom.xml" />
8
+      </list>
9
+    </option>
10
+  </component>
11
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
12
+    <output url="file://$PROJECT_DIR$/out" />
13
+  </component>
14
+</project>

+ 0
- 0
.idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec Целия файл


+ 6
- 0
.idea/sonarlint/issuestore/8/7/8703cfe2e0e2398a246921ca14c5f43ee720d7d8 Целия файл

@@ -0,0 +1,6 @@
1
+
2
+Msquid:S00108 ")Either remove or fill this block of code.(ªœ¿’øÿÿÿÿ8û×ì’ý,
3
+V
4
+squid:S106"9Replace this use of System.out or System.err by a logger.(œþ¥€8Ï•´’ý,
5
+Ksquid:S1172
6
+"-Remove this unused method parameter "string".(£�¯Æ8Ï•´’ý,

+ 11
- 0
.idea/sonarlint/issuestore/e/f/ef73d72ebc35aacb637c7f5f30c8e627a8bf4e08 Целия файл

@@ -0,0 +1,11 @@
1
+
2
+Hsquid:S1172",Remove this unused method parameter "value".(æÕïÍ8å×�ˆý,
3
+Bsquid:S1168"&Return an empty array instead of null.(¥¹ï�8ÆŒ‘ˆý,
4
+Msquid:S1172",Remove this unused method parameter "value".(�äâ¿þÿÿÿÿ8”��ˆý,
5
+Gsquid:S1172"&Remove these unused method parameters.(´¬¯Çùÿÿÿÿ8š‡õŒý,
6
+Bsquid:S1168"&Return an empty array instead of null.(¥¹ï�8Ê��ˆý,
7
+Isquid:S1172"-Remove this unused method parameter "values".(µÁþÃ8ÆŒ‘ˆý,
8
+[squid:S1118":Add a private constructor to hide the implicit public one.(›¥ØÚúÿÿÿÿ8”��ˆý,
9
+Bsquid:S1172"&Remove these unused method parameters.(µŽ—ñ8¸›üŒý,
10
+Msquid:S1172",Remove this unused method parameter "value".(ш؂ýÿÿÿÿ8å×�ˆý,
11
+Asquid:S1172"&Remove these unused method parameters.(¼�–*8š‡õŒý,

+ 7
- 0
.idea/sonarlint/issuestore/index.pb Целия файл

@@ -0,0 +1,7 @@
1
+
2
+7
3
+pom.xml,4/4/442292b8a7efeabbe4cc176709b833b1792140ec
4
+o
5
+?src/main/java/rocks/zipcode/quiz3a/fundamentals/Calculator.java,e/f/ef73d72ebc35aacb637c7f5f30c8e627a8bf4e08
6
+p
7
+@src/main/java/rocks/zipcode/quiz3a/fundamentals/StringUtils.java,8/7/8703cfe2e0e2398a246921ca14c5f43ee720d7d8

+ 124
- 0
.idea/uiDesigner.xml Целия файл

@@ -0,0 +1,124 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Palette2">
4
+    <group name="Swing">
5
+      <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">
6
+        <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
7
+      </item>
8
+      <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">
9
+        <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
10
+      </item>
11
+      <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
12
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
13
+      </item>
14
+      <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
15
+        <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
16
+      </item>
17
+      <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
18
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
19
+        <initial-values>
20
+          <property name="text" value="Button" />
21
+        </initial-values>
22
+      </item>
23
+      <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
24
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
25
+        <initial-values>
26
+          <property name="text" value="RadioButton" />
27
+        </initial-values>
28
+      </item>
29
+      <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
30
+        <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
31
+        <initial-values>
32
+          <property name="text" value="CheckBox" />
33
+        </initial-values>
34
+      </item>
35
+      <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
36
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
37
+        <initial-values>
38
+          <property name="text" value="Label" />
39
+        </initial-values>
40
+      </item>
41
+      <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
42
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
43
+          <preferred-size width="150" height="-1" />
44
+        </default-constraints>
45
+      </item>
46
+      <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
47
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
48
+          <preferred-size width="150" height="-1" />
49
+        </default-constraints>
50
+      </item>
51
+      <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
52
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
53
+          <preferred-size width="150" height="-1" />
54
+        </default-constraints>
55
+      </item>
56
+      <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
57
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
58
+          <preferred-size width="150" height="50" />
59
+        </default-constraints>
60
+      </item>
61
+      <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
62
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
63
+          <preferred-size width="150" height="50" />
64
+        </default-constraints>
65
+      </item>
66
+      <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
67
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
68
+          <preferred-size width="150" height="50" />
69
+        </default-constraints>
70
+      </item>
71
+      <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
72
+        <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
73
+      </item>
74
+      <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
75
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
76
+          <preferred-size width="150" height="50" />
77
+        </default-constraints>
78
+      </item>
79
+      <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
80
+        <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
81
+          <preferred-size width="150" height="50" />
82
+        </default-constraints>
83
+      </item>
84
+      <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
85
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
86
+          <preferred-size width="150" height="50" />
87
+        </default-constraints>
88
+      </item>
89
+      <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
90
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
91
+          <preferred-size width="200" height="200" />
92
+        </default-constraints>
93
+      </item>
94
+      <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
95
+        <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
96
+          <preferred-size width="200" height="200" />
97
+        </default-constraints>
98
+      </item>
99
+      <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
100
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
101
+      </item>
102
+      <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
103
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
104
+      </item>
105
+      <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
106
+        <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
107
+      </item>
108
+      <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
109
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
110
+      </item>
111
+      <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
112
+        <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
113
+          <preferred-size width="-1" height="20" />
114
+        </default-constraints>
115
+      </item>
116
+      <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
117
+        <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
118
+      </item>
119
+      <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
120
+        <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
121
+      </item>
122
+    </group>
123
+  </component>
124
+</project>

+ 648
- 0
.idea/workspace.xml Целия файл

@@ -0,0 +1,648 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="d0ceb38c-6627-48ad-bb0f-43fdbb43a980" name="Default" comment="" />
5
+    <ignored path="$PROJECT_DIR$/out/" />
6
+    <ignored path="$PROJECT_DIR$/target/" />
7
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
+    <option name="TRACKING_ENABLED" value="true" />
9
+    <option name="SHOW_DIALOG" value="false" />
10
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12
+    <option name="LAST_RESOLUTION" value="IGNORE" />
13
+  </component>
14
+  <component name="FileEditorManager">
15
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
16
+      <file leaf-file-name="BankAccount.java" pinned="false" current-in-tab="false">
17
+        <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/BankAccount.java">
18
+          <provider selected="true" editor-type-id="text-editor">
19
+            <state relative-caret-position="360">
20
+              <caret line="24" selection-start-line="24" selection-end-line="24" />
21
+            </state>
22
+          </provider>
23
+        </entry>
24
+      </file>
25
+      <file leaf-file-name="Food.java" pinned="false" current-in-tab="false">
26
+        <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/collections/Food.java">
27
+          <provider selected="true" editor-type-id="text-editor">
28
+            <state relative-caret-position="345">
29
+              <caret line="23" lean-forward="true" selection-start-line="23" selection-end-line="23" />
30
+              <folding>
31
+                <element signature="imports" expanded="true" />
32
+              </folding>
33
+            </state>
34
+          </provider>
35
+        </entry>
36
+      </file>
37
+      <file leaf-file-name="GetSpiceCountTest.java" pinned="false" current-in-tab="false">
38
+        <entry file="file://$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/collections/food/GetSpiceCountTest.java">
39
+          <provider selected="true" editor-type-id="text-editor">
40
+            <state relative-caret-position="210">
41
+              <caret line="14" column="37" lean-forward="true" selection-start-line="14" selection-start-column="37" selection-end-line="14" selection-end-column="37" />
42
+              <folding>
43
+                <element signature="imports" expanded="true" />
44
+              </folding>
45
+            </state>
46
+          </provider>
47
+        </entry>
48
+      </file>
49
+      <file leaf-file-name="Ginger.java" pinned="false" current-in-tab="false">
50
+        <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Ginger.java">
51
+          <provider selected="true" editor-type-id="text-editor">
52
+            <state relative-caret-position="75">
53
+              <caret line="5" column="19" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
54
+            </state>
55
+          </provider>
56
+        </entry>
57
+      </file>
58
+      <file leaf-file-name="Pepper.java" pinned="false" current-in-tab="false">
59
+        <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Pepper.java">
60
+          <provider selected="true" editor-type-id="text-editor">
61
+            <state relative-caret-position="75">
62
+              <caret line="5" column="19" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
63
+            </state>
64
+          </provider>
65
+        </entry>
66
+      </file>
67
+      <file leaf-file-name="Condiment.java" pinned="false" current-in-tab="false">
68
+        <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Condiment.java">
69
+          <provider selected="true" editor-type-id="text-editor">
70
+            <state relative-caret-position="75">
71
+              <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
72
+            </state>
73
+          </provider>
74
+        </entry>
75
+      </file>
76
+      <file leaf-file-name="Spice.java" pinned="false" current-in-tab="false">
77
+        <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Spice.java">
78
+          <provider selected="true" editor-type-id="text-editor">
79
+            <state relative-caret-position="75">
80
+              <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
81
+            </state>
82
+          </provider>
83
+        </entry>
84
+      </file>
85
+      <file leaf-file-name="SpicePolymorphismTest.java" pinned="false" current-in-tab="true">
86
+        <entry file="file://$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/SpicePolymorphismTest.java">
87
+          <provider selected="true" editor-type-id="text-editor">
88
+            <state relative-caret-position="330">
89
+              <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
90
+              <folding>
91
+                <element signature="imports" expanded="true" />
92
+              </folding>
93
+            </state>
94
+          </provider>
95
+        </entry>
96
+      </file>
97
+    </leaf>
98
+  </component>
99
+  <component name="FileTemplateManagerImpl">
100
+    <option name="RECENT_TEMPLATES">
101
+      <list>
102
+        <option value="Class" />
103
+      </list>
104
+    </option>
105
+  </component>
106
+  <component name="IdeDocumentHistory">
107
+    <option name="CHANGED_PATHS">
108
+      <list>
109
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation.java" />
110
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/IntegerUtils.java" />
111
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/NumberUtils.java" />
112
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/Calculator.java" />
113
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/StringUtils.java" />
114
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/BankAccount.java" />
115
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Bank.java" />
116
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Toy.java" />
117
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/ChildToy.java" />
118
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Food.java" />
119
+        <option value="$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/TestPolyMorphism.java" />
120
+        <option value="$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/PolymorphismTest.java" />
121
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Spice.java" />
122
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/collections/Condiment.java" />
123
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Condiment.java" />
124
+        <option value="$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/collections/Food.java" />
125
+        <option value="$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/collections/food/GetSpiceCountTest.java" />
126
+        <option value="$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/GingerPolymorphismTest.java" />
127
+        <option value="$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/PepperPolymorphismTest.java" />
128
+        <option value="$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/SpicePolymorphismTest.java" />
129
+      </list>
130
+    </option>
131
+  </component>
132
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
133
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
134
+  <component name="JsGulpfileManager">
135
+    <detection-done>true</detection-done>
136
+    <sorting>DEFINITION_ORDER</sorting>
137
+  </component>
138
+  <component name="NodePackageJsonFileManager">
139
+    <packageJsonPaths />
140
+  </component>
141
+  <component name="ProjectFrameBounds" extendedState="6">
142
+    <option name="y" value="23" />
143
+    <option name="width" value="1440" />
144
+    <option name="height" value="873" />
145
+  </component>
146
+  <component name="ProjectView">
147
+    <navigator proportions="" version="1">
148
+      <foldersAlwaysOnTop value="true" />
149
+    </navigator>
150
+    <panes>
151
+      <pane id="Scope" />
152
+      <pane id="PackagesPane" />
153
+      <pane id="ProjectPane">
154
+        <subPane>
155
+          <expand>
156
+            <path>
157
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
158
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
159
+            </path>
160
+            <path>
161
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
162
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
163
+              <item name="src" type="462c0819:PsiDirectoryNode" />
164
+            </path>
165
+            <path>
166
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
167
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
168
+              <item name="src" type="462c0819:PsiDirectoryNode" />
169
+              <item name="main" type="462c0819:PsiDirectoryNode" />
170
+            </path>
171
+            <path>
172
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
173
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
174
+              <item name="src" type="462c0819:PsiDirectoryNode" />
175
+              <item name="main" type="462c0819:PsiDirectoryNode" />
176
+              <item name="java" type="462c0819:PsiDirectoryNode" />
177
+            </path>
178
+            <path>
179
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
180
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
181
+              <item name="src" type="462c0819:PsiDirectoryNode" />
182
+              <item name="main" type="462c0819:PsiDirectoryNode" />
183
+              <item name="java" type="462c0819:PsiDirectoryNode" />
184
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
185
+            </path>
186
+            <path>
187
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
188
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
189
+              <item name="src" type="462c0819:PsiDirectoryNode" />
190
+              <item name="main" type="462c0819:PsiDirectoryNode" />
191
+              <item name="java" type="462c0819:PsiDirectoryNode" />
192
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
193
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
194
+            </path>
195
+            <path>
196
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
197
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
198
+              <item name="src" type="462c0819:PsiDirectoryNode" />
199
+              <item name="main" type="462c0819:PsiDirectoryNode" />
200
+              <item name="java" type="462c0819:PsiDirectoryNode" />
201
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
202
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
203
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
204
+            </path>
205
+            <path>
206
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
207
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
208
+              <item name="src" type="462c0819:PsiDirectoryNode" />
209
+              <item name="main" type="462c0819:PsiDirectoryNode" />
210
+              <item name="java" type="462c0819:PsiDirectoryNode" />
211
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
212
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
213
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
214
+              <item name="collections" type="462c0819:PsiDirectoryNode" />
215
+            </path>
216
+            <path>
217
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
218
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
219
+              <item name="src" type="462c0819:PsiDirectoryNode" />
220
+              <item name="main" type="462c0819:PsiDirectoryNode" />
221
+              <item name="java" type="462c0819:PsiDirectoryNode" />
222
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
223
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
224
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
225
+              <item name="fundamentals" type="462c0819:PsiDirectoryNode" />
226
+            </path>
227
+            <path>
228
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
229
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
230
+              <item name="src" type="462c0819:PsiDirectoryNode" />
231
+              <item name="main" type="462c0819:PsiDirectoryNode" />
232
+              <item name="java" type="462c0819:PsiDirectoryNode" />
233
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
234
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
235
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
236
+              <item name="objectorientation" type="462c0819:PsiDirectoryNode" />
237
+            </path>
238
+            <path>
239
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
240
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
241
+              <item name="src" type="462c0819:PsiDirectoryNode" />
242
+              <item name="test" type="462c0819:PsiDirectoryNode" />
243
+            </path>
244
+            <path>
245
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
246
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
247
+              <item name="src" type="462c0819:PsiDirectoryNode" />
248
+              <item name="test" type="462c0819:PsiDirectoryNode" />
249
+              <item name="java" type="462c0819:PsiDirectoryNode" />
250
+            </path>
251
+            <path>
252
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
253
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
254
+              <item name="src" type="462c0819:PsiDirectoryNode" />
255
+              <item name="test" type="462c0819:PsiDirectoryNode" />
256
+              <item name="java" type="462c0819:PsiDirectoryNode" />
257
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
258
+            </path>
259
+            <path>
260
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
261
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
262
+              <item name="src" type="462c0819:PsiDirectoryNode" />
263
+              <item name="test" type="462c0819:PsiDirectoryNode" />
264
+              <item name="java" type="462c0819:PsiDirectoryNode" />
265
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
266
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
267
+            </path>
268
+            <path>
269
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
270
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
271
+              <item name="src" type="462c0819:PsiDirectoryNode" />
272
+              <item name="test" type="462c0819:PsiDirectoryNode" />
273
+              <item name="java" type="462c0819:PsiDirectoryNode" />
274
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
275
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
276
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
277
+            </path>
278
+            <path>
279
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
280
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
281
+              <item name="src" type="462c0819:PsiDirectoryNode" />
282
+              <item name="test" type="462c0819:PsiDirectoryNode" />
283
+              <item name="java" type="462c0819:PsiDirectoryNode" />
284
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
285
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
286
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
287
+              <item name="collections" type="462c0819:PsiDirectoryNode" />
288
+            </path>
289
+            <path>
290
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
291
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
292
+              <item name="src" type="462c0819:PsiDirectoryNode" />
293
+              <item name="test" type="462c0819:PsiDirectoryNode" />
294
+              <item name="java" type="462c0819:PsiDirectoryNode" />
295
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
296
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
297
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
298
+              <item name="collections" type="462c0819:PsiDirectoryNode" />
299
+              <item name="food" type="462c0819:PsiDirectoryNode" />
300
+            </path>
301
+            <path>
302
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
303
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
304
+              <item name="src" type="462c0819:PsiDirectoryNode" />
305
+              <item name="test" type="462c0819:PsiDirectoryNode" />
306
+              <item name="java" type="462c0819:PsiDirectoryNode" />
307
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
308
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
309
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
310
+              <item name="objectorientation" type="462c0819:PsiDirectoryNode" />
311
+            </path>
312
+            <path>
313
+              <item name="quiz3a" type="b2602c69:ProjectViewProjectNode" />
314
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
315
+              <item name="src" type="462c0819:PsiDirectoryNode" />
316
+              <item name="test" type="462c0819:PsiDirectoryNode" />
317
+              <item name="java" type="462c0819:PsiDirectoryNode" />
318
+              <item name="rocks" type="462c0819:PsiDirectoryNode" />
319
+              <item name="zipcode" type="462c0819:PsiDirectoryNode" />
320
+              <item name="quiz3a" type="462c0819:PsiDirectoryNode" />
321
+              <item name="objectorientation" type="462c0819:PsiDirectoryNode" />
322
+              <item name="spice" type="462c0819:PsiDirectoryNode" />
323
+            </path>
324
+          </expand>
325
+          <select />
326
+        </subPane>
327
+      </pane>
328
+      <pane id="AndroidView" />
329
+    </panes>
330
+  </component>
331
+  <component name="PropertiesComponent">
332
+    <property name="WebServerToolWindowFactoryState" value="false" />
333
+    <property name="aspect.path.notification.shown" value="true" />
334
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
335
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
336
+    <property name="settings.editor.selected.configurable" value="preferences.sourceCode.Java" />
337
+  </component>
338
+  <component name="RecentsManager">
339
+    <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
340
+      <recent name="rocks.zipcode.quiz3a.objectorientation" />
341
+    </key>
342
+    <key name="CreateClassDialog.RecentsKey">
343
+      <recent name="rocks.zipcode.quiz3a.collections" />
344
+    </key>
345
+  </component>
346
+  <component name="RunDashboard">
347
+    <option name="ruleStates">
348
+      <list>
349
+        <RuleState>
350
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
351
+        </RuleState>
352
+        <RuleState>
353
+          <option name="name" value="StatusDashboardGroupingRule" />
354
+        </RuleState>
355
+      </list>
356
+    </option>
357
+  </component>
358
+  <component name="RunManager">
359
+    <configuration name="StringUtils" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
360
+      <option name="MAIN_CLASS_NAME" value="rocks.zipcode.quiz3a.fundamentals.StringUtils" />
361
+      <module name="quiz3a" />
362
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
363
+      <extension name="coverage">
364
+        <pattern>
365
+          <option name="PATTERN" value="rocks.zipcode.quiz3a.fundamentals.*" />
366
+          <option name="ENABLED" value="true" />
367
+        </pattern>
368
+      </extension>
369
+    </configuration>
370
+    <configuration default="true" type="Application" factoryName="Application">
371
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
372
+    </configuration>
373
+    <configuration default="true" type="JUnit" factoryName="JUnit">
374
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
375
+      <option name="ALTERNATIVE_JRE_PATH" />
376
+      <option name="PACKAGE_NAME" />
377
+      <option name="MAIN_CLASS_NAME" />
378
+      <option name="METHOD_NAME" />
379
+      <option name="TEST_OBJECT" value="class" />
380
+      <option name="VM_PARAMETERS" value="-ea" />
381
+      <option name="PARAMETERS" />
382
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
383
+      <option name="PASS_PARENT_ENVS" value="true" />
384
+      <option name="TEST_SEARCH_SCOPE">
385
+        <value defaultName="singleModule" />
386
+      </option>
387
+      <patterns />
388
+    </configuration>
389
+    <configuration default="true" type="TestNG" factoryName="TestNG">
390
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
391
+      <option name="ALTERNATIVE_JRE_PATH" />
392
+      <option name="SUITE_NAME" />
393
+      <option name="PACKAGE_NAME" />
394
+      <option name="MAIN_CLASS_NAME" />
395
+      <option name="METHOD_NAME" />
396
+      <option name="GROUP_NAME" />
397
+      <option name="TEST_OBJECT" value="CLASS" />
398
+      <option name="VM_PARAMETERS" value="-ea" />
399
+      <option name="PARAMETERS" />
400
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
401
+      <option name="OUTPUT_DIRECTORY" />
402
+      <option name="PASS_PARENT_ENVS" value="true" />
403
+      <option name="TEST_SEARCH_SCOPE">
404
+        <value defaultName="singleModule" />
405
+      </option>
406
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
407
+      <option name="PROPERTIES_FILE" />
408
+      <properties />
409
+      <listeners />
410
+    </configuration>
411
+    <recent_temporary>
412
+      <list>
413
+        <item itemvalue="Application.StringUtils" />
414
+      </list>
415
+    </recent_temporary>
416
+  </component>
417
+  <component name="SvnConfiguration">
418
+    <configuration />
419
+  </component>
420
+  <component name="TaskManager">
421
+    <task active="true" id="Default" summary="Default task">
422
+      <changelist id="d0ceb38c-6627-48ad-bb0f-43fdbb43a980" name="Default" comment="" />
423
+      <created>1545399628200</created>
424
+      <option name="number" value="Default" />
425
+      <option name="presentableId" value="Default" />
426
+      <updated>1545399628200</updated>
427
+      <workItem from="1545399636039" duration="7092000" />
428
+      <workItem from="1545940387305" duration="1270000" />
429
+    </task>
430
+    <servers />
431
+  </component>
432
+  <component name="TimeTrackingManager">
433
+    <option name="totallyTimeSpent" value="8362000" />
434
+  </component>
435
+  <component name="ToolWindowManager">
436
+    <frame x="0" y="23" width="1440" height="873" extended-state="6" />
437
+    <layout>
438
+      <window_info anchor="right" id="Palette" order="3" />
439
+      <window_info anchor="bottom" id="TODO" order="6" />
440
+      <window_info anchor="right" id="Palette&#9;" order="3" />
441
+      <window_info id="Image Layers" order="2" />
442
+      <window_info anchor="right" id="Capture Analysis" order="3" />
443
+      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
444
+      <window_info anchor="right" id="Maven Projects" order="3" />
445
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
446
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
447
+      <window_info anchor="bottom" id="Run" order="2" weight="0.328125" />
448
+      <window_info active="true" anchor="bottom" id="Terminal" order="7" visible="true" weight="0.3298969" />
449
+      <window_info id="Capture Tool" order="2" />
450
+      <window_info id="Designer" order="2" />
451
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.21745351" />
452
+      <window_info anchor="bottom" id="SonarLint" order="7" />
453
+      <window_info anchor="right" id="Database" order="3" />
454
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
455
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
456
+      <window_info id="UI Designer" order="2" />
457
+      <window_info anchor="right" id="Theme Preview" order="3" />
458
+      <window_info id="Favorites" order="2" side_tool="true" />
459
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
460
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
461
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
462
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
463
+      <window_info anchor="bottom" id="Message" order="0" />
464
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
465
+      <window_info anchor="bottom" id="Find" order="1" />
466
+      <window_info anchor="bottom" id="Messages" order="7" weight="0.3294979" />
467
+    </layout>
468
+  </component>
469
+  <component name="TypeScriptGeneratedFilesManager">
470
+    <option name="version" value="1" />
471
+  </component>
472
+  <component name="VcsContentAnnotationSettings">
473
+    <option name="myLimit" value="2678400000" />
474
+  </component>
475
+  <component name="XDebuggerManager">
476
+    <breakpoint-manager>
477
+      <option name="time" value="1" />
478
+    </breakpoint-manager>
479
+  </component>
480
+  <component name="editorHistoryManager">
481
+    <entry file="file://$PROJECT_DIR$/pom.xml">
482
+      <provider selected="true" editor-type-id="text-editor" />
483
+    </entry>
484
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/Calculator.java">
485
+      <provider selected="true" editor-type-id="text-editor">
486
+        <state relative-caret-position="75">
487
+          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
488
+        </state>
489
+      </provider>
490
+    </entry>
491
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/StringUtils.java">
492
+      <provider selected="true" editor-type-id="text-editor">
493
+        <state relative-caret-position="345">
494
+          <caret line="24" column="42" lean-forward="true" selection-start-line="24" selection-start-column="42" selection-end-line="24" selection-end-column="42" />
495
+        </state>
496
+      </provider>
497
+    </entry>
498
+    <entry file="file://$PROJECT_DIR$/pom.xml">
499
+      <provider selected="true" editor-type-id="text-editor" />
500
+    </entry>
501
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/IntegerUtility.java" />
502
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation.java" />
503
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/NumberUtils.java" />
504
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/StringUtils.java">
505
+      <provider selected="true" editor-type-id="text-editor">
506
+        <state relative-caret-position="285">
507
+          <caret line="19" column="5" selection-start-line="19" selection-start-column="5" selection-end-line="19" selection-end-column="5" />
508
+        </state>
509
+      </provider>
510
+    </entry>
511
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/fundamentals/Calculator.java">
512
+      <provider selected="true" editor-type-id="text-editor">
513
+        <state relative-caret-position="180">
514
+          <caret line="12" column="5" selection-start-line="12" selection-start-column="5" selection-end-line="12" selection-end-column="5" />
515
+        </state>
516
+      </provider>
517
+    </entry>
518
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/collections/B.java">
519
+      <provider selected="true" editor-type-id="text-editor">
520
+        <state relative-caret-position="75">
521
+          <caret line="5" column="14" selection-start-line="5" selection-start-column="14" selection-end-line="5" selection-end-column="14" />
522
+        </state>
523
+      </provider>
524
+    </entry>
525
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/collections/Bank.java">
526
+      <provider selected="true" editor-type-id="text-editor">
527
+        <state relative-caret-position="135">
528
+          <caret line="9" column="13" selection-start-line="9" selection-start-column="13" selection-end-line="9" selection-end-column="13" />
529
+          <folding>
530
+            <element signature="imports" expanded="true" />
531
+          </folding>
532
+        </state>
533
+      </provider>
534
+    </entry>
535
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/BankAccount.java">
536
+      <provider selected="true" editor-type-id="text-editor">
537
+        <state relative-caret-position="360">
538
+          <caret line="24" selection-start-line="24" selection-end-line="24" />
539
+        </state>
540
+      </provider>
541
+    </entry>
542
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Spice.java">
543
+      <provider selected="true" editor-type-id="text-editor">
544
+        <state relative-caret-position="75">
545
+          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
546
+        </state>
547
+      </provider>
548
+    </entry>
549
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Condiment.java">
550
+      <provider selected="true" editor-type-id="text-editor">
551
+        <state relative-caret-position="75">
552
+          <caret line="5" column="13" selection-start-line="5" selection-start-column="13" selection-end-line="5" selection-end-column="13" />
553
+        </state>
554
+      </provider>
555
+    </entry>
556
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/collections/Food.java">
557
+      <provider selected="true" editor-type-id="text-editor">
558
+        <state relative-caret-position="345">
559
+          <caret line="23" lean-forward="true" selection-start-line="23" selection-end-line="23" />
560
+          <folding>
561
+            <element signature="imports" expanded="true" />
562
+          </folding>
563
+        </state>
564
+      </provider>
565
+    </entry>
566
+    <entry file="file://$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/collections/food/GetSpiceCountTest.java">
567
+      <provider selected="true" editor-type-id="text-editor">
568
+        <state relative-caret-position="210">
569
+          <caret line="14" column="37" lean-forward="true" selection-start-line="14" selection-start-column="37" selection-end-line="14" selection-end-column="37" />
570
+          <folding>
571
+            <element signature="imports" expanded="true" />
572
+          </folding>
573
+        </state>
574
+      </provider>
575
+    </entry>
576
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Ginger.java">
577
+      <provider selected="true" editor-type-id="text-editor">
578
+        <state relative-caret-position="75">
579
+          <caret line="5" column="19" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
580
+        </state>
581
+      </provider>
582
+    </entry>
583
+    <entry file="file://$PROJECT_DIR$/src/main/java/rocks/zipcode/quiz3a/objectorientation/Pepper.java">
584
+      <provider selected="true" editor-type-id="text-editor">
585
+        <state relative-caret-position="75">
586
+          <caret line="5" column="19" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
587
+        </state>
588
+      </provider>
589
+    </entry>
590
+    <entry file="file://$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/GingerPolymorphismTest.java">
591
+      <provider selected="true" editor-type-id="text-editor">
592
+        <state relative-caret-position="195">
593
+          <caret line="13" column="36" lean-forward="true" selection-start-line="13" selection-end-line="14" />
594
+          <folding>
595
+            <element signature="imports" expanded="true" />
596
+          </folding>
597
+        </state>
598
+      </provider>
599
+    </entry>
600
+    <entry file="file://$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/PepperPolymorphismTest.java">
601
+      <provider selected="true" editor-type-id="text-editor">
602
+        <state relative-caret-position="195">
603
+          <caret line="13" column="8" selection-start-line="13" selection-start-column="8" selection-end-line="13" selection-end-column="65" />
604
+          <folding>
605
+            <element signature="imports" expanded="true" />
606
+          </folding>
607
+        </state>
608
+      </provider>
609
+    </entry>
610
+    <entry file="file://$PROJECT_DIR$/src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/SpicePolymorphismTest.java">
611
+      <provider selected="true" editor-type-id="text-editor">
612
+        <state relative-caret-position="330">
613
+          <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
614
+          <folding>
615
+            <element signature="imports" expanded="true" />
616
+          </folding>
617
+        </state>
618
+      </provider>
619
+    </entry>
620
+  </component>
621
+  <component name="masterDetails">
622
+    <states>
623
+      <state key="ProjectJDKs.UI">
624
+        <settings>
625
+          <last-edited>1.8</last-edited>
626
+          <splitter-proportions>
627
+            <option name="proportions">
628
+              <list>
629
+                <option value="0.2" />
630
+              </list>
631
+            </option>
632
+          </splitter-proportions>
633
+        </settings>
634
+      </state>
635
+      <state key="ScopeChooserConfigurable.UI">
636
+        <settings>
637
+          <splitter-proportions>
638
+            <option name="proportions">
639
+              <list>
640
+                <option value="0.2" />
641
+              </list>
642
+            </option>
643
+          </splitter-proportions>
644
+        </settings>
645
+      </state>
646
+    </states>
647
+  </component>
648
+</project>

+ 20
- 0
pom.xml Целия файл

@@ -0,0 +1,20 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <modelVersion>4.0.0</modelVersion>
6
+
7
+    <groupId>rocks.zipcode</groupId>
8
+    <artifactId>quiz3a</artifactId>
9
+    <version>1.0</version>
10
+    <dependencies>
11
+        <dependency>
12
+            <groupId>junit</groupId>
13
+            <artifactId>junit</artifactId>
14
+            <version>4.12</version>
15
+            <scope>test</scope>
16
+        </dependency>
17
+    </dependencies>
18
+
19
+
20
+</project>

+ 2
- 0
quiz3a.iml Целия файл

@@ -0,0 +1,2 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4" />

+ 25
- 0
src/main/java/rocks/zipcode/quiz3a/collections/Bank.java Целия файл

@@ -0,0 +1,25 @@
1
+package rocks.zipcode.quiz3a.collections;
2
+
3
+import rocks.zipcode.quiz3a.objectorientation.BankAccount;
4
+
5
+import java.util.List;
6
+
7
+/**
8
+ * @author leon on 27/12/2018.
9
+ */
10
+public class Bank {
11
+    public List<BankAccount> getBankAccounts() {
12
+        return null;
13
+    }
14
+
15
+    public void setBankAccounts(List<BankAccount> bankAccounts) {
16
+    }
17
+
18
+    public BankAccount findBankAccountById(Long id) {
19
+        return null;
20
+    }
21
+
22
+    public BankAccount removeBankAccount(Long id) {
23
+        return null;
24
+    }
25
+}

+ 34
- 0
src/main/java/rocks/zipcode/quiz3a/collections/Food.java Целия файл

@@ -0,0 +1,34 @@
1
+package rocks.zipcode.quiz3a.collections;
2
+
3
+import rocks.zipcode.quiz3a.objectorientation.Condiment;
4
+import rocks.zipcode.quiz3a.objectorientation.Spice;
5
+
6
+import java.util.List;
7
+import java.util.Map;
8
+
9
+/**
10
+ * @author leon on 27/12/2018.
11
+ */
12
+public class Food {
13
+    public List<Spice> getAllSpices() {
14
+        return null;
15
+    }
16
+
17
+    public List<Condiment> getAllCondiments() {
18
+        return null;
19
+    }
20
+
21
+    public Map<Spice, Integer> getSpiceCount() {
22
+        return null;
23
+    }
24
+
25
+    public Map<Condiment, Integer> getCondimentCount() {
26
+        return null;
27
+    }
28
+
29
+    public void applySpice(Spice spice) {
30
+    }
31
+
32
+    public void applyCondiment(Condiment condiment) {
33
+    }
34
+}

+ 35
- 0
src/main/java/rocks/zipcode/quiz3a/fundamentals/Calculator.java Целия файл

@@ -0,0 +1,35 @@
1
+package rocks.zipcode.quiz3a.fundamentals;
2
+
3
+/**
4
+ * @author leon on 21/12/2018.
5
+ */
6
+public class Calculator {
7
+    public static Double squareRoute(Double value) {
8
+        return null;
9
+    }
10
+
11
+    public static Double square(Double value) {
12
+        return null;
13
+    }
14
+
15
+    public static Double[] squareRoutes(Double... value) {
16
+        return null;
17
+    }
18
+
19
+    public static Double[] squares(Double values) {
20
+        return null;
21
+    }
22
+
23
+    public static Double add(Double value1, Double value2) {
24
+        return null;
25
+    }
26
+
27
+    public static Double subtract(Double value1, Double value2) {
28
+        return null;
29
+    }
30
+
31
+
32
+    public static Double divide(Double divisor, Double dividend) {
33
+        return null;
34
+    }
35
+}

+ 21
- 0
src/main/java/rocks/zipcode/quiz3a/fundamentals/StringUtils.java Целия файл

@@ -0,0 +1,21 @@
1
+package rocks.zipcode.quiz3a.fundamentals;
2
+
3
+/**
4
+ * @author leon on 21/12/2018.
5
+ */
6
+public class StringUtils {
7
+    public static Character getMiddleCharacter(String string) {
8
+        // 0. figure out how long
9
+        // 1. divide length by 2
10
+        // 2.
11
+        return null;
12
+    }
13
+
14
+    public static String capitalizeMiddleCharacter(String str) {
15
+        return null;
16
+    }
17
+
18
+    public static String lowerCaseMiddleCharacter(String str) {
19
+        return null;
20
+    }
21
+}

+ 35
- 0
src/main/java/rocks/zipcode/quiz3a/objectorientation/BankAccount.java Целия файл

@@ -0,0 +1,35 @@
1
+package rocks.zipcode.quiz3a.objectorientation;
2
+
3
+/**
4
+ * @author leon on 27/12/2018.
5
+ */
6
+public class BankAccount {
7
+    public void increaseBalance(Double amountToIncreaseBy) {
8
+
9
+    }
10
+
11
+    public void decreaseBalance(Double amountToIncreaseBy) {
12
+
13
+    }
14
+
15
+    public Long getId() {
16
+        return null;
17
+    }
18
+
19
+    public void setId(Long id) {
20
+    }
21
+
22
+    public Double getBalance() {
23
+        return null;
24
+    }
25
+
26
+    public void setBalance(Double balance) {
27
+    }
28
+
29
+    public String getAccountHolderName() {
30
+        return null;
31
+    }
32
+
33
+    public void setAccountHolderName(String accountHolderName) {
34
+    }
35
+}

+ 7
- 0
src/main/java/rocks/zipcode/quiz3a/objectorientation/Condiment.java Целия файл

@@ -0,0 +1,7 @@
1
+package rocks.zipcode.quiz3a.objectorientation;
2
+
3
+/**
4
+ * @author leon on 27/12/2018.
5
+ */
6
+public class Condiment {
7
+}

+ 7
- 0
src/main/java/rocks/zipcode/quiz3a/objectorientation/Ginger.java Целия файл

@@ -0,0 +1,7 @@
1
+package rocks.zipcode.quiz3a.objectorientation;
2
+
3
+/**
4
+ * @author leon on 27/12/2018.
5
+ */
6
+public class Ginger {
7
+}

+ 7
- 0
src/main/java/rocks/zipcode/quiz3a/objectorientation/Pepper.java Целия файл

@@ -0,0 +1,7 @@
1
+package rocks.zipcode.quiz3a.objectorientation;
2
+
3
+/**
4
+ * @author leon on 27/12/2018.
5
+ */
6
+public class Pepper {
7
+}

+ 7
- 0
src/main/java/rocks/zipcode/quiz3a/objectorientation/Spice.java Целия файл

@@ -0,0 +1,7 @@
1
+package rocks.zipcode.quiz3a.objectorientation;
2
+
3
+/**
4
+ * @author leon on 27/12/2018.
5
+ */
6
+public class Spice {
7
+}

+ 19
- 0
src/test/java/rocks/zipcode/quiz3a/collections/food/GetSpiceCountTest.java Целия файл

@@ -0,0 +1,19 @@
1
+package rocks.zipcode.quiz3a.collections.food;
2
+
3
+import org.junit.Test;
4
+import rocks.zipcode.quiz3a.collections.Food;
5
+import rocks.zipcode.quiz3a.objectorientation.Spice;
6
+
7
+/**
8
+ * @author leon on 27/12/2018.
9
+ */
10
+public class GetSpiceCountTest {
11
+    @Test
12
+    public void test1() {
13
+        // given
14
+        Food food = new Food();
15
+        food.applySpice(new Spice());
16
+        // when
17
+        // then
18
+    }
19
+}

+ 22
- 0
src/test/java/rocks/zipcode/quiz3a/objectorientation/spice/SpicePolymorphismTest.java Целия файл

@@ -0,0 +1,22 @@
1
+package rocks.zipcode.quiz3a.objectorientation.spice;
2
+
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+import rocks.zipcode.quiz3a.objectorientation.Ginger;
6
+import rocks.zipcode.quiz3a.objectorientation.Pepper;
7
+import rocks.zipcode.quiz3a.objectorientation.Spice;
8
+
9
+/**
10
+ * @author leon on 27/12/2018.
11
+ */
12
+public class SpicePolymorphismTest {
13
+    @Test
14
+    public void testPepperIsSpice() {
15
+        Assert.assertTrue((Object) new Pepper() instanceof Spice);
16
+    }
17
+
18
+    @Test
19
+    public void testGingerIsSpice() {
20
+        Assert.assertTrue((Object) new Ginger() instanceof Spice);
21
+    }
22
+}

BIN
target/classes/rocks/zipcode/quiz3a/fundamentals/Calculator.class Целия файл


BIN
target/classes/rocks/zipcode/quiz3a/fundamentals/StringUtils.class Целия файл