Arin Turpin пре 6 година
комит
e14324289f

+ 11
- 0
.idea/Ken_s_Pianos_3.iml Прегледај датотеку

@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$">
6
+      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7
+    </content>
8
+    <orderEntry type="inheritedJdk" />
9
+    <orderEntry type="sourceFolder" forTests="false" />
10
+  </component>
11
+</module>

+ 6
- 0
.idea/misc.xml Прегледај датотеку

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
4
+    <output url="file://$PROJECT_DIR$/out" />
5
+  </component>
6
+</project>

+ 8
- 0
.idea/modules.xml Прегледај датотеку

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/Ken_s_Pianos_3.iml" filepath="$PROJECT_DIR$/.idea/Ken_s_Pianos_3.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 2
- 0
.idea/readMe.md Прегледај датотеку

@@ -0,0 +1,2 @@
1
+Given an ArrayList of Pianos, organize the pianos into different collections based
2
+on their size.

+ 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>

+ 6
- 0
.idea/vcs.xml Прегледај датотеку

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

+ 394
- 0
.idea/workspace.xml Прегледај датотеку

@@ -0,0 +1,394 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="539361df-de15-47d4-9aa1-647d306c29f2" name="Default" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/readMe.md" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/src/main/Piano.java" afterDir="false" />
10
+      <change afterPath="$PROJECT_DIR$/src/main/PianoRoom.java" afterDir="false" />
11
+    </list>
12
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
13
+    <option name="TRACKING_ENABLED" value="true" />
14
+    <option name="SHOW_DIALOG" value="false" />
15
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
16
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
17
+    <option name="LAST_RESOLUTION" value="IGNORE" />
18
+  </component>
19
+  <component name="FileEditorManager">
20
+    <leaf>
21
+      <file leaf-file-name="readMe.md" pinned="false" current-in-tab="false">
22
+        <entry file="file://$PROJECT_DIR$/.idea/readMe.md">
23
+          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
24
+            <state split_layout="SPLIT">
25
+              <first_editor relative-caret-position="15">
26
+                <caret line="1" column="14" selection-start-line="1" selection-start-column="14" selection-end-line="1" selection-end-column="14" />
27
+              </first_editor>
28
+              <second_editor />
29
+            </state>
30
+          </provider>
31
+        </entry>
32
+      </file>
33
+      <file leaf-file-name="Piano.java" pinned="false" current-in-tab="true">
34
+        <entry file="file://$PROJECT_DIR$/src/main/Piano.java">
35
+          <provider selected="true" editor-type-id="text-editor">
36
+            <state relative-caret-position="330">
37
+              <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
38
+              <folding>
39
+                <element signature="e#109#116#0" expanded="true" />
40
+              </folding>
41
+            </state>
42
+          </provider>
43
+        </entry>
44
+      </file>
45
+      <file leaf-file-name="PianoRoom.java" pinned="false" current-in-tab="false">
46
+        <entry file="file://$PROJECT_DIR$/src/main/PianoRoom.java">
47
+          <provider selected="true" editor-type-id="text-editor">
48
+            <state relative-caret-position="225">
49
+              <caret line="15" column="7" selection-end-line="17" />
50
+            </state>
51
+          </provider>
52
+        </entry>
53
+      </file>
54
+    </leaf>
55
+  </component>
56
+  <component name="FileTemplateManagerImpl">
57
+    <option name="RECENT_TEMPLATES">
58
+      <list>
59
+        <option value="Class" />
60
+      </list>
61
+    </option>
62
+  </component>
63
+  <component name="Git.Settings">
64
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
65
+  </component>
66
+  <component name="IdeDocumentHistory">
67
+    <option name="CHANGED_PATHS">
68
+      <list>
69
+        <option value="$PROJECT_DIR$/.idea/readMe.md" />
70
+        <option value="$PROJECT_DIR$/src/main/PianoRoom.java" />
71
+        <option value="$PROJECT_DIR$/src/main/Piano.java" />
72
+      </list>
73
+    </option>
74
+  </component>
75
+  <component name="ProjectFrameBounds">
76
+    <option name="y" value="22" />
77
+    <option name="width" value="821" />
78
+    <option name="height" value="699" />
79
+  </component>
80
+  <component name="ProjectLevelVcsManager">
81
+    <ConfirmationsSetting value="2" id="Add" />
82
+  </component>
83
+  <component name="ProjectView">
84
+    <navigator proportions="" version="1">
85
+      <foldersAlwaysOnTop value="true" />
86
+    </navigator>
87
+    <panes>
88
+      <pane id="AndroidView" />
89
+      <pane id="ProjectPane">
90
+        <subPane>
91
+          <expand>
92
+            <path>
93
+              <item name="Ken_s_Pianos_3" type="b2602c69:ProjectViewProjectNode" />
94
+              <item name="Ken_s_Pianos_3" type="462c0819:PsiDirectoryNode" />
95
+            </path>
96
+            <path>
97
+              <item name="Ken_s_Pianos_3" type="b2602c69:ProjectViewProjectNode" />
98
+              <item name="Ken_s_Pianos_3" type="462c0819:PsiDirectoryNode" />
99
+              <item name="src" type="462c0819:PsiDirectoryNode" />
100
+            </path>
101
+            <path>
102
+              <item name="Ken_s_Pianos_3" type="b2602c69:ProjectViewProjectNode" />
103
+              <item name="Ken_s_Pianos_3" type="462c0819:PsiDirectoryNode" />
104
+              <item name="src" type="462c0819:PsiDirectoryNode" />
105
+              <item name="main" type="462c0819:PsiDirectoryNode" />
106
+            </path>
107
+          </expand>
108
+          <select />
109
+        </subPane>
110
+      </pane>
111
+      <pane id="PackagesPane" />
112
+      <pane id="Scope" />
113
+    </panes>
114
+  </component>
115
+  <component name="PropertiesComponent">
116
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
117
+    <property name="project.structure.last.edited" value="Project" />
118
+    <property name="project.structure.proportion" value="0.15" />
119
+    <property name="project.structure.side.proportion" value="0.33547795" />
120
+    <property name="settings.editor.selected.configurable" value="editor.preferences.import" />
121
+  </component>
122
+  <component name="RunDashboard">
123
+    <option name="ruleStates">
124
+      <list>
125
+        <RuleState>
126
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
127
+        </RuleState>
128
+        <RuleState>
129
+          <option name="name" value="StatusDashboardGroupingRule" />
130
+        </RuleState>
131
+      </list>
132
+    </option>
133
+  </component>
134
+  <component name="RunManager" selected="Application.Piano">
135
+    <configuration name="Piano (1)" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
136
+      <option name="MAIN_CLASS_NAME" value="main.Piano" />
137
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
138
+      <extension name="coverage">
139
+        <pattern>
140
+          <option name="PATTERN" value="main.*" />
141
+          <option name="ENABLED" value="true" />
142
+        </pattern>
143
+      </extension>
144
+    </configuration>
145
+    <configuration name="Piano" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
146
+      <option name="MAIN_CLASS_NAME" value="main.Piano" />
147
+      <module name="Ken_s_Pianos_3" />
148
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
149
+      <extension name="coverage">
150
+        <pattern>
151
+          <option name="PATTERN" value="main.*" />
152
+          <option name="ENABLED" value="true" />
153
+        </pattern>
154
+      </extension>
155
+    </configuration>
156
+    <configuration default="true" type="Application" factoryName="Application">
157
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
158
+    </configuration>
159
+    <configuration default="true" type="JUnit" factoryName="JUnit">
160
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
161
+      <option name="ALTERNATIVE_JRE_PATH" />
162
+      <option name="PACKAGE_NAME" />
163
+      <option name="MAIN_CLASS_NAME" />
164
+      <option name="METHOD_NAME" />
165
+      <option name="TEST_OBJECT" value="class" />
166
+      <option name="VM_PARAMETERS" value="-ea" />
167
+      <option name="PARAMETERS" />
168
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
169
+      <option name="PASS_PARENT_ENVS" value="true" />
170
+      <option name="TEST_SEARCH_SCOPE">
171
+        <value defaultName="singleModule" />
172
+      </option>
173
+      <patterns />
174
+    </configuration>
175
+    <configuration default="true" type="TestNG" factoryName="TestNG">
176
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
177
+      <option name="ALTERNATIVE_JRE_PATH" />
178
+      <option name="SUITE_NAME" />
179
+      <option name="PACKAGE_NAME" />
180
+      <option name="MAIN_CLASS_NAME" />
181
+      <option name="METHOD_NAME" />
182
+      <option name="GROUP_NAME" />
183
+      <option name="TEST_OBJECT" value="CLASS" />
184
+      <option name="VM_PARAMETERS" value="-ea" />
185
+      <option name="PARAMETERS" />
186
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
187
+      <option name="OUTPUT_DIRECTORY" />
188
+      <option name="PASS_PARENT_ENVS" value="true" />
189
+      <option name="TEST_SEARCH_SCOPE">
190
+        <value defaultName="singleModule" />
191
+      </option>
192
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
193
+      <option name="PROPERTIES_FILE" />
194
+      <properties />
195
+      <listeners />
196
+    </configuration>
197
+    <list>
198
+      <item itemvalue="Application.Piano" />
199
+      <item itemvalue="Application.Piano (1)" />
200
+    </list>
201
+    <recent_temporary>
202
+      <list>
203
+        <item itemvalue="Application.Piano" />
204
+        <item itemvalue="Application.Piano (1)" />
205
+      </list>
206
+    </recent_temporary>
207
+  </component>
208
+  <component name="SvnConfiguration">
209
+    <configuration />
210
+  </component>
211
+  <component name="TaskManager">
212
+    <task active="true" id="Default" summary="Default task">
213
+      <changelist id="539361df-de15-47d4-9aa1-647d306c29f2" name="Default" comment="" />
214
+      <created>1533560714575</created>
215
+      <option name="number" value="Default" />
216
+      <option name="presentableId" value="Default" />
217
+      <updated>1533560714575</updated>
218
+    </task>
219
+    <servers />
220
+  </component>
221
+  <component name="ToolWindowManager">
222
+    <frame x="0" y="22" width="821" height="699" extended-state="0" />
223
+    <editor active="true" />
224
+    <layout>
225
+      <window_info anchor="right" id="Palette" />
226
+      <window_info anchor="bottom" id="TODO" order="6" />
227
+      <window_info anchor="right" id="Palette&#9;" />
228
+      <window_info id="Image Layers" />
229
+      <window_info anchor="right" id="Capture Analysis" />
230
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
231
+      <window_info anchor="right" id="Maven Projects" />
232
+      <window_info anchor="bottom" id="Run" order="2" />
233
+      <window_info anchor="bottom" id="Version Control" />
234
+      <window_info anchor="bottom" id="Terminal" />
235
+      <window_info id="Capture Tool" />
236
+      <window_info id="Designer" />
237
+      <window_info content_ui="combo" id="Project" order="0" weight="0.34087238" />
238
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
239
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
240
+      <window_info id="UI Designer" />
241
+      <window_info anchor="right" id="Theme Preview" />
242
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
243
+      <window_info id="Favorites" side_tool="true" />
244
+      <window_info anchor="bottom" id="Find" order="1" />
245
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
246
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
247
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
248
+      <window_info anchor="bottom" id="Message" order="0" />
249
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
250
+    </layout>
251
+  </component>
252
+  <component name="VcsContentAnnotationSettings">
253
+    <option name="myLimit" value="2678400000" />
254
+  </component>
255
+  <component name="editorHistoryManager">
256
+    <entry file="file://$PROJECT_DIR$/.idea/workspace.xml">
257
+      <provider selected="true" editor-type-id="text-editor" />
258
+    </entry>
259
+    <entry file="file://$PROJECT_DIR$/.idea/modules.xml">
260
+      <provider selected="true" editor-type-id="text-editor" />
261
+    </entry>
262
+    <entry file="file://$PROJECT_DIR$/src/main/Piano.java">
263
+      <provider selected="true" editor-type-id="text-editor">
264
+        <state relative-caret-position="45">
265
+          <caret line="3" column="4" selection-start-line="3" selection-start-column="4" selection-end-line="3" selection-end-column="4" />
266
+        </state>
267
+      </provider>
268
+    </entry>
269
+    <entry file="file://$PROJECT_DIR$/src/main/java/objects/obj.java">
270
+      <provider selected="true" editor-type-id="text-editor" />
271
+    </entry>
272
+    <entry file="file://$PROJECT_DIR$/.idea/Ken_s_Pianos_3.iml">
273
+      <provider selected="true" editor-type-id="text-editor">
274
+        <state relative-caret-position="150">
275
+          <caret line="10" column="9" lean-forward="true" selection-start-line="10" selection-start-column="9" selection-end-line="10" selection-end-column="9" />
276
+        </state>
277
+      </provider>
278
+    </entry>
279
+    <entry file="file://$PROJECT_DIR$/.idea/readMe.md">
280
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
281
+        <state split_layout="SPLIT">
282
+          <first_editor relative-caret-position="15">
283
+            <caret line="1" column="14" selection-start-line="1" selection-start-column="14" selection-end-line="1" selection-end-column="14" />
284
+          </first_editor>
285
+          <second_editor />
286
+        </state>
287
+      </provider>
288
+    </entry>
289
+    <entry file="file://$PROJECT_DIR$/src/main/PianoRoom.java">
290
+      <provider selected="true" editor-type-id="text-editor">
291
+        <state relative-caret-position="225">
292
+          <caret line="15" column="7" selection-end-line="17" />
293
+        </state>
294
+      </provider>
295
+    </entry>
296
+    <entry file="file://$PROJECT_DIR$/src/main/Piano.java">
297
+      <provider selected="true" editor-type-id="text-editor">
298
+        <state relative-caret-position="330">
299
+          <caret line="22" lean-forward="true" selection-start-line="22" selection-end-line="22" />
300
+          <folding>
301
+            <element signature="e#109#116#0" expanded="true" />
302
+          </folding>
303
+        </state>
304
+      </provider>
305
+    </entry>
306
+  </component>
307
+  <component name="masterDetails">
308
+    <states>
309
+      <state key="ArtifactsStructureConfigurable.UI">
310
+        <settings>
311
+          <artifact-editor />
312
+          <splitter-proportions>
313
+            <option name="proportions">
314
+              <list>
315
+                <option value="0.33547795" />
316
+              </list>
317
+            </option>
318
+          </splitter-proportions>
319
+        </settings>
320
+      </state>
321
+      <state key="FacetStructureConfigurable.UI">
322
+        <settings>
323
+          <last-edited>No facets are configured</last-edited>
324
+          <splitter-proportions>
325
+            <option name="proportions">
326
+              <list>
327
+                <option value="0.33547795" />
328
+              </list>
329
+            </option>
330
+          </splitter-proportions>
331
+        </settings>
332
+      </state>
333
+      <state key="GlobalLibrariesConfigurable.UI">
334
+        <settings>
335
+          <splitter-proportions>
336
+            <option name="proportions">
337
+              <list>
338
+                <option value="0.33547795" />
339
+              </list>
340
+            </option>
341
+          </splitter-proportions>
342
+        </settings>
343
+      </state>
344
+      <state key="JdkListConfigurable.UI">
345
+        <settings>
346
+          <last-edited>1.8</last-edited>
347
+          <splitter-proportions>
348
+            <option name="proportions">
349
+              <list>
350
+                <option value="0.33547795" />
351
+              </list>
352
+            </option>
353
+          </splitter-proportions>
354
+        </settings>
355
+      </state>
356
+      <state key="ModuleStructureConfigurable.UI">
357
+        <settings>
358
+          <last-edited>Ken_s_Pianos_3</last-edited>
359
+          <splitter-proportions>
360
+            <option name="proportions">
361
+              <list>
362
+                <option value="0.33547795" />
363
+                <option value="0.6" />
364
+              </list>
365
+            </option>
366
+          </splitter-proportions>
367
+        </settings>
368
+      </state>
369
+      <state key="ProjectJDKs.UI">
370
+        <settings>
371
+          <last-edited>1.8</last-edited>
372
+          <splitter-proportions>
373
+            <option name="proportions">
374
+              <list>
375
+                <option value="0.2" />
376
+              </list>
377
+            </option>
378
+          </splitter-proportions>
379
+        </settings>
380
+      </state>
381
+      <state key="ProjectLibrariesConfigurable.UI">
382
+        <settings>
383
+          <splitter-proportions>
384
+            <option name="proportions">
385
+              <list>
386
+                <option value="0.33547795" />
387
+              </list>
388
+            </option>
389
+          </splitter-proportions>
390
+        </settings>
391
+      </state>
392
+    </states>
393
+  </component>
394
+</project>

BIN
out/production/Ken_s_Pianos_3/main/Piano$SIZE.class Прегледај датотеку


BIN
out/production/Ken_s_Pianos_3/main/Piano.class Прегледај датотеку



+ 84
- 0
src/main/Piano.java Прегледај датотеку

@@ -0,0 +1,84 @@
1
+package main;
2
+
3
+import java.util.ArrayList;
4
+
5
+public class Piano {
6
+
7
+    static ArrayList<Piano> Myrath = new ArrayList<Piano>();
8
+
9
+
10
+    private static enum SIZE {SIXTY_ONE, EIGHTY_FOUR, ONEHUNDRED_TWENTY_EIGHT, TWOHUNDRED, THREEHUNDRED};
11
+
12
+    private static SIZE size;
13
+
14
+
15
+    public static void main(String[] args) {
16
+
17
+        pianoCreator();
18
+
19
+        System.out.println(Myrath);
20
+    }
21
+
22
+
23
+
24
+
25
+
26
+
27
+    public Piano(){
28
+
29
+    }
30
+
31
+
32
+//    public Piano(SIZE x){
33
+//
34
+//    }
35
+
36
+
37
+
38
+
39
+    public static SIZE getSIZE(Piano x){
40
+        return x.size;
41
+    }
42
+
43
+    public static void setSIZE(SIZE r){
44
+        size = r;
45
+    }
46
+
47
+
48
+    public static Piano pianoCreator(){
49
+        int decider = (int) Math.round(Math.random() * 5);
50
+
51
+        switch(decider){
52
+            case 1:
53
+                size = SIZE.SIXTY_ONE;
54
+                break;
55
+
56
+            case 2:
57
+                size = SIZE.EIGHTY_FOUR;
58
+                break;
59
+
60
+            case 3:
61
+                size = SIZE.ONEHUNDRED_TWENTY_EIGHT;
62
+                break;
63
+
64
+            case 4:
65
+                size = SIZE.TWOHUNDRED;
66
+                break;
67
+
68
+            case 5:
69
+                size = SIZE.THREEHUNDRED;
70
+                break;
71
+        }
72
+
73
+        Piano newPiano = new Piano();
74
+        newPiano.setSIZE(size);
75
+        addingToMyrath(newPiano);
76
+
77
+//        return new Piano().setSIZE(size);
78
+        return newPiano;
79
+    }
80
+
81
+    public static boolean addingToMyrath(Piano x){
82
+        return Myrath.add(x);
83
+    }
84
+}

+ 17
- 0
src/main/PianoRoom.java Прегледај датотеку

@@ -0,0 +1,17 @@
1
+//package main;
2
+//
3
+//import java.util.ArrayList;
4
+//
5
+//public class PianoRoom {
6
+//
7
+//    ArrayList<Piano> Myrath = new ArrayList<Piano>();
8
+//
9
+//    public static void main(String[] args) {
10
+//
11
+//    }
12
+//
13
+//
14
+//    public void fillMyrath(){
15
+//        Piano
16
+//    }
17
+//}