Xcuello vor 5 Jahren
Ursprung
Commit
d812bd090d

+ 1
- 1
.idea/compiler.xml Datei anzeigen

@@ -10,7 +10,7 @@
10 10
       </profile>
11 11
     </annotationProcessing>
12 12
     <bytecodeTargetLevel>
13
-      <module name="arraz" target="1.5" />
13
+      <module name="arraz" target="7" />
14 14
     </bytecodeTargetLevel>
15 15
   </component>
16 16
 </project>

+ 1
- 0
.idea/misc.xml Datei anzeigen

@@ -7,4 +7,5 @@
7 7
       </list>
8 8
     </option>
9 9
   </component>
10
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
10 11
 </project>

+ 414
- 221
.idea/workspace.xml Datei anzeigen

@@ -2,58 +2,86 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="3455511b-a100-4bbd-b07c-68f009bc8dbc" name="Default" comment="">
5
-      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
-      <change beforePath="$PROJECT_DIR$/README.md" afterPath="$PROJECT_DIR$/README.md" />
5
+      <change afterPath="$PROJECT_DIR$/arraz/src/main/java/MaxMin.java" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/arraz/src/main/java/OddEven.java" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/arraz/src/test/java/OddEvenTest.java" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/arraz/arraz.iml" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/arraz.iml" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/arraz/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/pom.xml" afterDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" afterDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" afterDir="false" />
7 15
     </list>
8 16
     <ignored path="$PROJECT_DIR$/arraz/target/" />
9 17
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
-    <option name="TRACKING_ENABLED" value="true" />
11 18
     <option name="SHOW_DIALOG" value="false" />
12 19
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
13 20
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
14 21
     <option name="LAST_RESOLUTION" value="IGNORE" />
15 22
   </component>
23
+  <component name="FUSProjectUsageTrigger">
24
+    <session id="1348745258">
25
+      <usages-collector id="statistics.lifecycle.project">
26
+        <counts>
27
+          <entry key="project.closed" value="27" />
28
+          <entry key="project.open.time.0" value="3" />
29
+          <entry key="project.open.time.1" value="19" />
30
+          <entry key="project.open.time.10" value="1" />
31
+          <entry key="project.open.time.14" value="1" />
32
+          <entry key="project.open.time.2" value="2" />
33
+          <entry key="project.open.time.4" value="1" />
34
+          <entry key="project.open.time.8" value="1" />
35
+          <entry key="project.opened" value="28" />
36
+        </counts>
37
+      </usages-collector>
38
+      <usages-collector id="statistics.file.extensions.edit">
39
+        <counts>
40
+          <entry key="java" value="4108" />
41
+        </counts>
42
+      </usages-collector>
43
+      <usages-collector id="statistics.file.types.edit">
44
+        <counts>
45
+          <entry key="JAVA" value="4108" />
46
+        </counts>
47
+      </usages-collector>
48
+      <usages-collector id="statistics.file.extensions.open">
49
+        <counts>
50
+          <entry key="java" value="12" />
51
+        </counts>
52
+      </usages-collector>
53
+      <usages-collector id="statistics.file.types.open">
54
+        <counts>
55
+          <entry key="JAVA" value="12" />
56
+        </counts>
57
+      </usages-collector>
58
+    </session>
59
+  </component>
16 60
   <component name="FileEditorManager">
17 61
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="375">
18
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
19
-        <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
62
+      <file pinned="false" current-in-tab="false">
63
+        <entry file="file://$PROJECT_DIR$/arraz/src/main/java/MaxMin.java">
20 64
           <provider selected="true" editor-type-id="text-editor">
21
-            <state relative-caret-position="0">
22
-              <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
23
-              <folding />
65
+            <state relative-caret-position="315">
66
+              <caret line="29" column="20" selection-start-line="29" selection-start-column="20" selection-end-line="29" selection-end-column="20" />
24 67
             </state>
25 68
           </provider>
26 69
         </entry>
27 70
       </file>
28
-      <file leaf-file-name="Arraz.java" pinned="false" current-in-tab="false">
71
+      <file pinned="false" current-in-tab="false">
29 72
         <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
30 73
           <provider selected="true" editor-type-id="text-editor">
31
-            <state relative-caret-position="0">
32
-              <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
33
-              <folding />
74
+            <state relative-caret-position="2208">
75
+              <caret line="96" column="25" selection-start-line="96" selection-start-column="25" selection-end-line="96" selection-end-column="25" />
34 76
             </state>
35 77
           </provider>
36 78
         </entry>
37 79
       </file>
38
-      <file leaf-file-name="ArrazTest.java" pinned="false" current-in-tab="false">
80
+      <file pinned="false" current-in-tab="true">
39 81
         <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
40 82
           <provider selected="true" editor-type-id="text-editor">
41
-            <state relative-caret-position="34">
42
-              <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
43
-              <folding />
44
-            </state>
45
-          </provider>
46
-        </entry>
47
-      </file>
48
-      <file leaf-file-name="README.md" pinned="false" current-in-tab="true">
49
-        <entry file="file://$PROJECT_DIR$/README.md">
50
-          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
51
-            <state split_layout="SPLIT">
52
-              <first_editor relative-caret-position="306">
53
-                <caret line="18" column="0" lean-forward="true" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
54
-                <folding />
55
-              </first_editor>
56
-              <second_editor />
83
+            <state relative-caret-position="673">
84
+              <caret line="236" column="44" selection-start-line="236" selection-start-column="44" selection-end-line="236" selection-end-column="44" />
57 85
             </state>
58 86
           </provider>
59 87
         </entry>
@@ -63,8 +91,8 @@
63 91
   <component name="FileTemplateManagerImpl">
64 92
     <option name="RECENT_TEMPLATES">
65 93
       <list>
66
-        <option value="Class" />
67 94
         <option value="JUnit4 Test Class" />
95
+        <option value="Class" />
68 96
       </list>
69 97
     </option>
70 98
   </component>
@@ -72,9 +100,6 @@
72 100
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
73 101
   </component>
74 102
   <component name="GradleLocalSettings">
75
-    <option name="externalProjectsViewState">
76
-      <projects_view />
77
-    </option>
78 103
     <option name="projectSyncType">
79 104
       <map>
80 105
         <entry key="$USER_HOME$/GitHub/gs-gradle/initial" value="PREVIEW" />
@@ -84,13 +109,23 @@
84 109
   <component name="IdeDocumentHistory">
85 110
     <option name="CHANGED_PATHS">
86 111
       <list>
87
-        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
88 112
         <option value="$PROJECT_DIR$/README.md" />
113
+        <option value="$PROJECT_DIR$/arraz/src/test/java/OddEvenTest.java" />
114
+        <option value="$PROJECT_DIR$/arraz/src/main/java/OddEven.java" />
115
+        <option value="$PROJECT_DIR$/arraz/src/main/java/MaxMin.java" />
116
+        <option value="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" />
117
+        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
89 118
       </list>
90 119
     </option>
91 120
   </component>
92 121
   <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
93 122
   <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
123
+  <component name="JsFlowSettings">
124
+    <service-enabled>true</service-enabled>
125
+    <exe-path />
126
+    <other-services-enabled>true</other-services-enabled>
127
+    <auto-save>true</auto-save>
128
+  </component>
94 129
   <component name="JsGulpfileManager">
95 130
     <detection-done>true</detection-done>
96 131
     <sorting>DEFINITION_ORDER</sorting>
@@ -103,26 +138,17 @@
103 138
     </option>
104 139
   </component>
105 140
   <component name="ProjectFrameBounds">
106
-    <option name="x" value="242" />
107
-    <option name="y" value="45" />
108
-    <option name="width" value="1538" />
109
-    <option name="height" value="962" />
141
+    <option name="y" value="23" />
142
+    <option name="width" value="1920" />
143
+    <option name="height" value="945" />
110 144
   </component>
111 145
   <component name="ProjectView">
112
-    <navigator currentView="ProjectPane" proportions="" version="1">
113
-      <flattenPackages />
114
-      <showMembers />
115
-      <showModules />
116
-      <showLibraryContents />
117
-      <hideEmptyPackages />
118
-      <abbreviatePackageNames />
119
-      <autoscrollToSource />
120
-      <autoscrollFromSource />
121
-      <sortByType />
122
-      <manualOrder />
146
+    <navigator proportions="" version="1">
123 147
       <foldersAlwaysOnTop value="true" />
124 148
     </navigator>
125 149
     <panes>
150
+      <pane id="PackagesPane" />
151
+      <pane id="Scope" />
126 152
       <pane id="ProjectPane">
127 153
         <subPane>
128 154
           <expand>
@@ -151,27 +177,54 @@
151 177
             <path>
152 178
               <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
153 179
               <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
180
+              <item name="arraz" 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
+            </path>
185
+            <path>
186
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
187
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
188
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
189
+              <item name="src" type="462c0819:PsiDirectoryNode" />
190
+              <item name="test" type="462c0819:PsiDirectoryNode" />
191
+            </path>
192
+            <path>
193
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
194
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
195
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
196
+              <item name="src" type="462c0819:PsiDirectoryNode" />
197
+              <item name="test" type="462c0819:PsiDirectoryNode" />
198
+              <item name="java" type="462c0819:PsiDirectoryNode" />
199
+            </path>
200
+            <path>
201
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
202
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
154 203
               <item name="DocumentationOnArrays" type="462c0819:PsiDirectoryNode" />
155 204
             </path>
205
+            <path>
206
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
207
+              <item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
208
+            </path>
156 209
           </expand>
157 210
           <select />
158 211
         </subPane>
159 212
       </pane>
160
-      <pane id="Scratches" />
161
-      <pane id="PackagesPane" />
162
-      <pane id="AndroidView" />
163
-      <pane id="Scope" />
164 213
     </panes>
165 214
   </component>
166 215
   <component name="PropertiesComponent">
167
-    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
168
-    <property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
216
+    <property name="GO_FMT" value="false" />
169 217
     <property name="WebServerToolWindowFactoryState" value="false" />
170 218
     <property name="aspect.path.notification.shown" value="true" />
171
-    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
172
-    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
219
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1545851432071" />
173 220
     <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
174
-    <property name="GO_FMT" value="false" />
221
+    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
222
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
223
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
224
+    <property name="project.structure.last.edited" value="Project" />
225
+    <property name="project.structure.proportion" value="0.15" />
226
+    <property name="project.structure.side.proportion" value="0.2" />
227
+    <property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
175 228
   </component>
176 229
   <component name="RecentsManager">
177 230
     <key name="CreateTestDialog.RecentsKey">
@@ -193,90 +246,111 @@
193 246
       </list>
194 247
     </option>
195 248
   </component>
196
-  <component name="RunManager">
249
+  <component name="RunManager" selected="JUnit.ArrazTest.copyArrayByIteratorTest2">
197 250
     <configuration default="true" type="Applet" factoryName="Applet">
198
-      <option name="WIDTH" value="400" />
199
-      <option name="HEIGHT" value="300" />
200 251
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
201
-      <module />
252
+      <method v="2">
253
+        <option name="Make" enabled="true" />
254
+      </method>
202 255
     </configuration>
203 256
     <configuration default="true" type="Application" factoryName="Application">
204
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
205
-      <option name="MAIN_CLASS_NAME" />
206
-      <option name="VM_PARAMETERS" />
207
-      <option name="PROGRAM_PARAMETERS" />
208 257
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
209
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
210
-      <option name="ALTERNATIVE_JRE_PATH" />
211
-      <option name="ENABLE_SWING_INSPECTOR" value="false" />
212
-      <option name="ENV_VARIABLES" />
213
-      <option name="PASS_PARENT_ENVS" value="true" />
214
-      <module name="" />
215
-      <envs />
258
+      <method v="2">
259
+        <option name="Make" enabled="true" />
260
+      </method>
216 261
     </configuration>
217
-    <configuration default="true" type="JUnit" factoryName="JUnit">
218
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
219
-      <module name="" />
220
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
221
-      <option name="ALTERNATIVE_JRE_PATH" />
222
-      <option name="PACKAGE_NAME" />
223
-      <option name="MAIN_CLASS_NAME" />
224
-      <option name="METHOD_NAME" />
225
-      <option name="TEST_OBJECT" value="class" />
226
-      <option name="VM_PARAMETERS" value="-ea" />
227
-      <option name="PARAMETERS" />
262
+    <configuration name="ArrazTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
263
+      <module name="arraz" />
264
+      <option name="PACKAGE_NAME" value="" />
265
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
266
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
267
+      <method v="2">
268
+        <option name="Make" enabled="true" />
269
+      </method>
270
+    </configuration>
271
+    <configuration name="ArrazTest.copyArrayByIterator" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
272
+      <module name="arraz" />
273
+      <option name="PACKAGE_NAME" value="" />
274
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
275
+      <option name="METHOD_NAME" value="copyArrayByIterator" />
276
+      <option name="TEST_OBJECT" value="method" />
277
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
278
+      <method v="2">
279
+        <option name="Make" enabled="true" />
280
+      </method>
281
+    </configuration>
282
+    <configuration name="ArrazTest.copyArrayByIteratorTest2" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
283
+      <module name="arraz" />
284
+      <option name="PACKAGE_NAME" value="" />
285
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
286
+      <option name="METHOD_NAME" value="copyArrayByIteratorTest2" />
287
+      <option name="TEST_OBJECT" value="method" />
288
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
289
+      <method v="2">
290
+        <option name="Make" enabled="true" />
291
+      </method>
292
+    </configuration>
293
+    <configuration name="ArrazTest.findIndexOfArrayTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
294
+      <module name="arraz" />
295
+      <option name="PACKAGE_NAME" value="" />
296
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
297
+      <option name="METHOD_NAME" value="findIndexOfArrayTest" />
298
+      <option name="TEST_OBJECT" value="method" />
228 299
       <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
229
-      <option name="ENV_VARIABLES" />
230
-      <option name="PASS_PARENT_ENVS" value="true" />
231
-      <option name="TEST_SEARCH_SCOPE">
232
-        <value defaultName="singleModule" />
233
-      </option>
234
-      <envs />
235
-      <patterns />
300
+      <method v="2">
301
+        <option name="Make" enabled="true" />
302
+      </method>
236 303
     </configuration>
237
-    <configuration default="true" type="Remote" factoryName="Remote">
238
-      <option name="USE_SOCKET_TRANSPORT" value="true" />
239
-      <option name="SERVER_MODE" value="false" />
240
-      <option name="SHMEM_ADDRESS" value="javadebug" />
241
-      <option name="HOST" value="localhost" />
242
-      <option name="PORT" value="5005" />
304
+    <configuration name="ArrazTest.findIndexOfArrayTest2" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
305
+      <module name="arraz" />
306
+      <option name="PACKAGE_NAME" value="" />
307
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
308
+      <option name="METHOD_NAME" value="findIndexOfArrayTest2" />
309
+      <option name="TEST_OBJECT" value="method" />
310
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
311
+      <method v="2">
312
+        <option name="Make" enabled="true" />
313
+      </method>
314
+    </configuration>
315
+    <configuration default="true" type="JUnit" factoryName="JUnit">
316
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
317
+      <method v="2">
318
+        <option name="Make" enabled="true" />
319
+      </method>
243 320
     </configuration>
244 321
     <configuration default="true" type="TestNG" factoryName="TestNG">
245
-      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
246
-      <module name="" />
247
-      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
248
-      <option name="ALTERNATIVE_JRE_PATH" />
249
-      <option name="SUITE_NAME" />
250
-      <option name="PACKAGE_NAME" />
251
-      <option name="MAIN_CLASS_NAME" />
252
-      <option name="METHOD_NAME" />
253
-      <option name="GROUP_NAME" />
254
-      <option name="TEST_OBJECT" value="CLASS" />
255
-      <option name="VM_PARAMETERS" value="-ea" />
256
-      <option name="PARAMETERS" />
257 322
       <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
258
-      <option name="OUTPUT_DIRECTORY" />
259
-      <option name="ANNOTATION_TYPE" />
260
-      <option name="ENV_VARIABLES" />
261
-      <option name="PASS_PARENT_ENVS" value="true" />
262
-      <option name="TEST_SEARCH_SCOPE">
263
-        <value defaultName="singleModule" />
264
-      </option>
265
-      <option name="USE_DEFAULT_REPORTERS" value="false" />
266
-      <option name="PROPERTIES_FILE" />
267
-      <envs />
268 323
       <properties />
269 324
       <listeners />
325
+      <method v="2">
326
+        <option name="Make" enabled="true" />
327
+      </method>
270 328
     </configuration>
271 329
     <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
272 330
       <module name="" />
273 331
       <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
274 332
       <option name="PROGRAM_PARAMETERS" />
275 333
       <predefined_log_file id="idea.log" enabled="true" />
334
+      <method v="2">
335
+        <option name="Make" enabled="true" />
336
+      </method>
276 337
     </configuration>
277
-  </component>
278
-  <component name="ShelveChangesManager" show_recycled="false">
279
-    <option name="remove_strategy" value="false" />
338
+    <list>
339
+      <item itemvalue="JUnit.ArrazTest.findIndexOfArrayTest" />
340
+      <item itemvalue="JUnit.ArrazTest.findIndexOfArrayTest2" />
341
+      <item itemvalue="JUnit.ArrazTest" />
342
+      <item itemvalue="JUnit.ArrazTest.copyArrayByIterator" />
343
+      <item itemvalue="JUnit.ArrazTest.copyArrayByIteratorTest2" />
344
+    </list>
345
+    <recent_temporary>
346
+      <list>
347
+        <item itemvalue="JUnit.ArrazTest.copyArrayByIteratorTest2" />
348
+        <item itemvalue="JUnit.ArrazTest.copyArrayByIterator" />
349
+        <item itemvalue="JUnit.ArrazTest" />
350
+        <item itemvalue="JUnit.ArrazTest.findIndexOfArrayTest2" />
351
+        <item itemvalue="JUnit.ArrazTest.findIndexOfArrayTest" />
352
+      </list>
353
+    </recent_temporary>
280 354
   </component>
281 355
   <component name="SvnConfiguration">
282 356
     <configuration />
@@ -291,6 +365,32 @@
291 365
       <workItem from="1543955862749" duration="2347000" />
292 366
       <workItem from="1543958998826" duration="113000" />
293 367
       <workItem from="1544020724645" duration="762000" />
368
+      <workItem from="1544215132819" duration="145000" />
369
+      <workItem from="1544215327411" duration="48000" />
370
+      <workItem from="1544215399887" duration="6360000" />
371
+      <workItem from="1544223739416" duration="56000" />
372
+      <workItem from="1544224853572" duration="530000" />
373
+      <workItem from="1544307139991" duration="2638000" />
374
+      <workItem from="1544394981426" duration="3260000" />
375
+      <workItem from="1544400088911" duration="834000" />
376
+      <workItem from="1544403510157" duration="1206000" />
377
+      <workItem from="1544450821702" duration="908000" />
378
+      <workItem from="1544452410085" duration="156000" />
379
+      <workItem from="1544460644623" duration="89000" />
380
+      <workItem from="1544463218218" duration="15000" />
381
+      <workItem from="1544468401804" duration="54000" />
382
+      <workItem from="1544642807846" duration="2651000" />
383
+      <workItem from="1544645788509" duration="910000" />
384
+      <workItem from="1544648042490" duration="258000" />
385
+      <workItem from="1544826904470" duration="101000" />
386
+      <workItem from="1544912529365" duration="13000" />
387
+      <workItem from="1544922168145" duration="47000" />
388
+      <workItem from="1544922295467" duration="6000" />
389
+      <workItem from="1545056679482" duration="66000" />
390
+      <workItem from="1545057330744" duration="3000" />
391
+      <workItem from="1545585288600" duration="82000" />
392
+      <workItem from="1545585816694" duration="2574000" />
393
+      <workItem from="1545845452407" duration="5761000" />
294 394
     </task>
295 395
     <task id="LOCAL-00001" summary="readme and docs">
296 396
       <created>1544021313039</created>
@@ -302,40 +402,104 @@
302 402
     <option name="localTasksCounter" value="2" />
303 403
     <servers />
304 404
   </component>
405
+  <component name="TestHistory">
406
+    <history-entry file="OddEvenTest - 2018.12.12 at 14h 37m 53s.xml">
407
+      <configuration name="OddEvenTest" configurationId="JUnit" />
408
+    </history-entry>
409
+    <history-entry file="OddEvenTest - 2018.12.12 at 14h 38m 22s.xml">
410
+      <configuration name="OddEvenTest" configurationId="JUnit" />
411
+    </history-entry>
412
+    <history-entry file="OddEvenTest - 2018.12.12 at 14h 38m 36s.xml">
413
+      <configuration name="OddEvenTest" configurationId="JUnit" />
414
+    </history-entry>
415
+    <history-entry file="OddEvenTest - 2018.12.12 at 14h 39m 44s.xml">
416
+      <configuration name="OddEvenTest" configurationId="JUnit" />
417
+    </history-entry>
418
+    <history-entry file="ArrazTest_findIndexOfArrayTest - 2018.12.12 at 14h 51m 29s.xml">
419
+      <configuration name="ArrazTest.findIndexOfArrayTest" configurationId="JUnit" />
420
+    </history-entry>
421
+    <history-entry file="ArrazTest_findIndexOfArrayTest2 - 2018.12.12 at 14h 51m 44s.xml">
422
+      <configuration name="ArrazTest.findIndexOfArrayTest2" configurationId="JUnit" />
423
+    </history-entry>
424
+    <history-entry file="ArrazTest_findIndexOfArrayTest - 2018.12.12 at 14h 53m 06s.xml">
425
+      <configuration name="ArrazTest.findIndexOfArrayTest" configurationId="JUnit" />
426
+    </history-entry>
427
+    <history-entry file="ArrazTest_findIndexOfArrayTest2 - 2018.12.12 at 14h 53m 27s.xml">
428
+      <configuration name="ArrazTest.findIndexOfArrayTest2" configurationId="JUnit" />
429
+    </history-entry>
430
+    <history-entry file="ArrazTest - 2018.12.23 at 12h 30m 58s.xml">
431
+      <configuration name="ArrazTest" configurationId="JUnit" />
432
+    </history-entry>
433
+    <history-entry file="ArrazTest - 2018.12.26 at 12h 39m 58s.xml">
434
+      <configuration name="ArrazTest" configurationId="JUnit" />
435
+    </history-entry>
436
+  </component>
305 437
   <component name="TimeTrackingManager">
306
-    <option name="totallyTimeSpent" value="3222000" />
438
+    <option name="totallyTimeSpent" value="31993000" />
307 439
   </component>
308 440
   <component name="ToolWindowManager">
309
-    <frame x="242" y="45" width="1538" height="962" extended-state="0" />
441
+    <frame x="0" y="23" width="1920" height="945" extended-state="6" />
310 442
     <editor active="true" />
311 443
     <layout>
312
-      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
313
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
314
-      <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
315
-      <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
316
-      <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
317
-      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
318
-      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
319
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
320
-      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
321
-      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
322
-      <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
323
-      <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
324
-      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2577389" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
325
-      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
326
-      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
327
-      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
328
-      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
329
-      <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
330
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
331
-      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
332
-      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
333
-      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
334
-      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
335
-      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
336
-      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
337
-      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
444
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.17252396" />
445
+      <window_info id="Structure" order="1" weight="0.25" />
446
+      <window_info id="Image Layers" order="2" />
447
+      <window_info id="Designer" order="3" />
448
+      <window_info id="UI Designer" order="4" />
449
+      <window_info id="Capture Tool" order="5" />
450
+      <window_info id="Favorites" order="6" side_tool="true" />
451
+      <window_info anchor="bottom" id="Message" order="0" />
452
+      <window_info anchor="bottom" id="Find" order="1" />
453
+      <window_info anchor="bottom" id="Run" order="2" weight="0.46072686" />
454
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.39933994" />
455
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
456
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
457
+      <window_info anchor="bottom" id="TODO" order="6" />
458
+      <window_info anchor="bottom" id="Terminal" order="7" />
459
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
460
+      <window_info anchor="bottom" id="Version Control" order="9" />
461
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
462
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.3282532" />
463
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
464
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
465
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
466
+      <window_info anchor="right" id="Palette" order="3" />
467
+      <window_info anchor="right" id="Capture Analysis" order="4" />
468
+      <window_info anchor="right" id="Theme Preview" order="5" />
469
+      <window_info anchor="right" id="Database" order="6" />
470
+      <window_info anchor="right" id="Palette&#9;" order="7" />
471
+      <window_info anchor="right" id="Maven Projects" order="8" />
338 472
     </layout>
473
+    <layout-to-restore>
474
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.34006462" />
475
+      <window_info id="Structure" order="1" weight="0.25" />
476
+      <window_info id="Image Layers" order="2" />
477
+      <window_info id="Designer" order="3" />
478
+      <window_info id="UI Designer" order="4" />
479
+      <window_info id="Capture Tool" order="5" />
480
+      <window_info id="Favorites" order="6" side_tool="true" />
481
+      <window_info anchor="bottom" id="Message" order="0" />
482
+      <window_info anchor="bottom" id="Find" order="1" />
483
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32838285" />
484
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.39933994" />
485
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
486
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
487
+      <window_info anchor="bottom" id="TODO" order="6" />
488
+      <window_info anchor="bottom" id="Terminal" order="7" />
489
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
490
+      <window_info anchor="bottom" id="Version Control" order="9" />
491
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
492
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.32838285" />
493
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
494
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
495
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
496
+      <window_info anchor="right" id="Palette" order="3" />
497
+      <window_info anchor="right" id="Capture Analysis" order="4" />
498
+      <window_info anchor="right" id="Theme Preview" order="5" />
499
+      <window_info anchor="right" id="Database" order="6" />
500
+      <window_info anchor="right" id="Palette&#9;" order="7" />
501
+      <window_info anchor="right" id="Maven Projects" order="8" />
502
+    </layout-to-restore>
339 503
   </component>
340 504
   <component name="TypeScriptGeneratedFilesManager">
341 505
     <option name="version" value="1" />
@@ -347,119 +511,136 @@
347 511
     <MESSAGE value="readme and docs" />
348 512
     <option name="LAST_COMMIT_MESSAGE" value="readme and docs" />
349 513
   </component>
350
-  <component name="XDebuggerManager">
351
-    <breakpoint-manager />
352
-    <watches-manager />
353
-  </component>
354 514
   <component name="editorHistoryManager">
355
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
356
-      <provider selected="true" editor-type-id="text-editor">
357
-        <state relative-caret-position="0">
358
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
359
-          <folding />
360
-        </state>
361
-      </provider>
362
-    </entry>
363
-    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
364
-      <provider selected="true" editor-type-id="text-editor">
365
-        <state relative-caret-position="0">
366
-          <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
367
-          <folding />
368
-        </state>
369
-      </provider>
370
-    </entry>
371
-    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
372
-      <provider selected="true" editor-type-id="text-editor">
373
-        <state relative-caret-position="34">
374
-          <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
375
-          <folding />
376
-        </state>
377
-      </provider>
378
-    </entry>
379 515
     <entry file="file://$PROJECT_DIR$/README.md">
380 516
       <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
381 517
         <state split_layout="SPLIT">
382
-          <first_editor relative-caret-position="1241">
383
-            <caret line="73" column="0" lean-forward="true" selection-start-line="73" selection-start-column="0" selection-end-line="73" selection-end-column="0" />
384
-            <folding />
518
+          <first_editor relative-caret-position="270">
519
+            <caret line="18" selection-start-line="18" selection-end-line="18" />
385 520
           </first_editor>
386 521
           <second_editor />
387 522
         </state>
388 523
       </provider>
389 524
     </entry>
390 525
     <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
526
+      <provider selected="true" editor-type-id="text-editor" />
527
+    </entry>
528
+    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/OddEvenTest.java">
391 529
       <provider selected="true" editor-type-id="text-editor">
392
-        <state relative-caret-position="0">
393
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
394
-          <folding />
530
+        <state relative-caret-position="405">
531
+          <caret line="27" column="40" selection-start-line="27" selection-start-column="40" selection-end-line="27" selection-end-column="40" />
395 532
         </state>
396 533
       </provider>
397 534
     </entry>
398
-    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
535
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/util/ListIterator.java">
399 536
       <provider selected="true" editor-type-id="text-editor">
400
-        <state relative-caret-position="0">
401
-          <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
402
-          <folding />
537
+        <state relative-caret-position="812">
538
+          <caret line="193" column="9" selection-start-line="193" selection-start-column="9" selection-end-line="193" selection-end-column="9" />
403 539
         </state>
404 540
       </provider>
405 541
     </entry>
406
-    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
542
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/OddEven.java">
407 543
       <provider selected="true" editor-type-id="text-editor">
408
-        <state relative-caret-position="34">
409
-          <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
410
-          <folding />
544
+        <state relative-caret-position="705">
545
+          <caret line="47" selection-start-line="47" selection-end-line="47" />
411 546
         </state>
412 547
       </provider>
413 548
     </entry>
414
-    <entry file="file://$PROJECT_DIR$/README.md">
415
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
416
-        <state split_layout="SPLIT">
417
-          <first_editor relative-caret-position="1241">
418
-            <caret line="73" column="0" lean-forward="true" selection-start-line="73" selection-start-column="0" selection-end-line="73" selection-end-column="0" />
419
-            <folding />
420
-          </first_editor>
421
-          <second_editor />
549
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/util/Arrays.java">
550
+      <provider selected="true" editor-type-id="text-editor">
551
+        <state relative-caret-position="268">
552
+          <caret line="3798" column="30" selection-start-line="3798" selection-start-column="30" selection-end-line="3798" selection-end-column="30" />
553
+          <folding>
554
+            <element signature="e#177013#177014#0" expanded="true" />
555
+            <element signature="e#177054#177055#0" expanded="true" />
556
+          </folding>
422 557
         </state>
423 558
       </provider>
424 559
     </entry>
425
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
560
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/MaxMin.java">
426 561
       <provider selected="true" editor-type-id="text-editor">
427
-        <state relative-caret-position="0">
428
-          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
429
-          <folding />
562
+        <state relative-caret-position="315">
563
+          <caret line="29" column="20" selection-start-line="29" selection-start-column="20" selection-end-line="29" selection-end-column="20" />
430 564
         </state>
431 565
       </provider>
432 566
     </entry>
433 567
     <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
434 568
       <provider selected="true" editor-type-id="text-editor">
435
-        <state relative-caret-position="0">
436
-          <caret line="0" column="15" lean-forward="false" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
437
-          <folding />
569
+        <state relative-caret-position="2208">
570
+          <caret line="96" column="25" selection-start-line="96" selection-start-column="25" selection-end-line="96" selection-end-column="25" />
438 571
         </state>
439 572
       </provider>
440 573
     </entry>
441 574
     <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
442 575
       <provider selected="true" editor-type-id="text-editor">
443
-        <state relative-caret-position="34">
444
-          <caret line="2" column="23" lean-forward="false" selection-start-line="2" selection-start-column="23" selection-end-line="2" selection-end-column="23" />
445
-          <folding />
446
-        </state>
447
-      </provider>
448
-    </entry>
449
-    <entry file="file://$PROJECT_DIR$/README.md">
450
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
451
-        <state split_layout="SPLIT">
452
-          <first_editor relative-caret-position="306">
453
-            <caret line="18" column="0" lean-forward="true" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
454
-            <folding />
455
-          </first_editor>
456
-          <second_editor />
576
+        <state relative-caret-position="673">
577
+          <caret line="236" column="44" selection-start-line="236" selection-start-column="44" selection-end-line="236" selection-end-column="44" />
457 578
         </state>
458 579
       </provider>
459 580
     </entry>
460 581
   </component>
461 582
   <component name="masterDetails">
462 583
     <states>
584
+      <state key="ArtifactsStructureConfigurable.UI">
585
+        <settings>
586
+          <artifact-editor />
587
+          <splitter-proportions>
588
+            <option name="proportions">
589
+              <list>
590
+                <option value="0.2" />
591
+              </list>
592
+            </option>
593
+          </splitter-proportions>
594
+        </settings>
595
+      </state>
596
+      <state key="FacetStructureConfigurable.UI">
597
+        <settings>
598
+          <last-edited>No facets are configured</last-edited>
599
+          <splitter-proportions>
600
+            <option name="proportions">
601
+              <list>
602
+                <option value="0.2" />
603
+              </list>
604
+            </option>
605
+          </splitter-proportions>
606
+        </settings>
607
+      </state>
608
+      <state key="GlobalLibrariesConfigurable.UI">
609
+        <settings>
610
+          <splitter-proportions>
611
+            <option name="proportions">
612
+              <list>
613
+                <option value="0.2" />
614
+              </list>
615
+            </option>
616
+          </splitter-proportions>
617
+        </settings>
618
+      </state>
619
+      <state key="JdkListConfigurable.UI">
620
+        <settings>
621
+          <last-edited>1.8</last-edited>
622
+          <splitter-proportions>
623
+            <option name="proportions">
624
+              <list>
625
+                <option value="0.2" />
626
+              </list>
627
+            </option>
628
+          </splitter-proportions>
629
+        </settings>
630
+      </state>
631
+      <state key="ModuleStructureConfigurable.UI">
632
+        <settings>
633
+          <last-edited>ArraysGoneWild</last-edited>
634
+          <splitter-proportions>
635
+            <option name="proportions">
636
+              <list>
637
+                <option value="0.2" />
638
+                <option value="0.6" />
639
+              </list>
640
+            </option>
641
+          </splitter-proportions>
642
+        </settings>
643
+      </state>
463 644
       <state key="ProjectJDKs.UI">
464 645
         <settings>
465 646
           <last-edited>1.8</last-edited>
@@ -472,6 +653,18 @@
472 653
           </splitter-proportions>
473 654
         </settings>
474 655
       </state>
656
+      <state key="ProjectLibrariesConfigurable.UI">
657
+        <settings>
658
+          <last-edited>Maven: junit:junit:4.0</last-edited>
659
+          <splitter-proportions>
660
+            <option name="proportions">
661
+              <list>
662
+                <option value="0.2" />
663
+              </list>
664
+            </option>
665
+          </splitter-proportions>
666
+        </settings>
667
+      </state>
475 668
     </states>
476 669
   </component>
477 670
 </project>

+ 1
- 1
arraz/arraz.iml Datei anzeigen

@@ -1,6 +1,6 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
3
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
4 4
     <output url="file://$MODULE_DIR$/target/classes" />
5 5
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
6 6
     <content url="file://$MODULE_DIR$">

+ 12
- 0
arraz/pom.xml Datei anzeigen

@@ -7,6 +7,18 @@
7 7
     <groupId>rocks.zipcode.arraysgonewild</groupId>
8 8
     <artifactId>arraz</artifactId>
9 9
     <version>1.0-SNAPSHOT</version>
10
+    <build>
11
+        <plugins>
12
+            <plugin>
13
+                <groupId>org.apache.maven.plugins</groupId>
14
+                <artifactId>maven-compiler-plugin</artifactId>
15
+                <configuration>
16
+                    <source>7</source>
17
+                    <target>7</target>
18
+                </configuration>
19
+            </plugin>
20
+        </plugins>
21
+    </build>
10 22
     <dependencies>
11 23
         <dependency>
12 24
             <groupId>junit</groupId>

+ 141
- 0
arraz/src/main/java/Arraz.java Datei anzeigen

@@ -1,2 +1,143 @@
1
+import java.util.*;
2
+
1 3
 public class Arraz {
4
+
5
+
6
+    public static int sumValuesOfArray(int[] array) {
7
+
8
+        int sum = 0;
9
+
10
+        for (int i = 0; i < array.length; i++) {
11
+
12
+            sum += array[i];
13
+        }
14
+
15
+        return sum;
16
+    }
17
+
18
+    public static double sumDoublesOfArray(double[] array) {
19
+
20
+        double sum = 0;
21
+
22
+        for (int i = 0; i < array.length; i++) {
23
+
24
+            sum += array[i];
25
+        }
26
+
27
+        return sum;
28
+
29
+    }
30
+
31
+    public static int averageOfArray(int[] array) {
32
+
33
+
34
+        return sumValuesOfArray(array) / array.length;
35
+    }
36
+
37
+    public static double doubleAverageOfArray(double[] array) {
38
+
39
+        double sum = 0.0;
40
+
41
+        for (int i = 0; i < array.length; i++) {
42
+
43
+            sum += array[i];
44
+
45
+        }
46
+        return sum / array.length;
47
+    }
48
+
49
+    public static boolean containsValue(int[] array, int value) {
50
+
51
+        for (int i = 0; i < array.length; i++) {
52
+
53
+            if (array[i] == value)
54
+
55
+                return true;
56
+        }
57
+        return false;
58
+    }
59
+
60
+    public static int[] reverseArray(int[] array) {
61
+
62
+        for (int i = 0; i < array.length / 2; i++) {
63
+
64
+            int temp = array[i];
65
+
66
+            array[i] = array[array.length - i - 1];
67
+
68
+            array[array.length - i - 1] = temp;
69
+        }
70
+        return array;
71
+    }
72
+
73
+    public static int findIndexOfArray(int[] array, int value) {
74
+
75
+       int num = 0;
76
+
77
+        for (int i = 0; i < array.length; i++) {
78
+
79
+            if (array[i] == value) {
80
+                num = i;
81
+            }
82
+        }
83
+        return num;
84
+    }
85
+
86
+    public static String[] copyArrayByIterator(String[] array) {
87
+
88
+        List<String> list = new ArrayList<>();
89
+
90
+        for(String element : array) {
91
+            list.add(element);
92
+        }
93
+
94
+        String[] tempArray = new String[list.size()];
95
+        list.toArray(tempArray);
96
+
97
+        return tempArray;
98
+    }
99
+
100
+    public static int[] copyArrayByLoop(int[] array) {
101
+
102
+        int[] tempArray;
103
+
104
+        tempArray = new int[array.length];
105
+
106
+        for (int i = 1; i < array.length; i++) {
107
+
108
+            tempArray[i] = array[i];
109
+        }
110
+
111
+        return tempArray;
112
+    }
113
+
114
+    public static int[] removeElementFromArray(int[] array, int value) {
115
+
116
+        for (int i = value; i < array.length - 1; i++) {
117
+
118
+            array[i] = array[i + 1];
119
+        }
120
+        return array;
121
+    }
122
+
123
+    public static int[] insertIntoArrayAt(int[] array, int index, int value) {
124
+
125
+        int[] result = new int[array.length];
126
+
127
+        for (int i = 0; i < index; i++)
128
+
129
+            result[i] = array[i];
130
+
131
+        result[index] = value;
132
+
133
+        for (int i = index + 1; i < array.length; i++)
134
+
135
+            result[i] = array[i - 1];
136
+
137
+        return result;
138
+    }
139
+
140
+
2 141
 }
142
+
143
+    

+ 32
- 0
arraz/src/main/java/MaxMin.java Datei anzeigen

@@ -0,0 +1,32 @@
1
+public class MaxMin {
2
+
3
+    public int max;
4
+    public int min;
5
+
6
+    public MaxMin(int max, int min) {
7
+
8
+        this.max = max;
9
+        this.min = min;
10
+    }
11
+
12
+    public int getMax() {
13
+        return max;
14
+    }
15
+
16
+    public void setMax(int max) {
17
+        this.max = max;
18
+    }
19
+
20
+    public int getMin() {
21
+        return min;
22
+    }
23
+
24
+    public void setMin(int min) {
25
+        this.min = min;
26
+    }
27
+
28
+    public static int[] findMaxMinOfArray(int[] array) {
29
+
30
+        return null;
31
+    }
32
+}

+ 74
- 0
arraz/src/main/java/OddEven.java Datei anzeigen

@@ -0,0 +1,74 @@
1
+import java.util.Objects;
2
+
3
+public class OddEven {
4
+
5
+    private int odds;
6
+
7
+    private int evens;
8
+
9
+    public OddEven(int odds, int evens) {
10
+
11
+        this.odds = odds;
12
+
13
+        this.evens = evens;
14
+
15
+    }
16
+
17
+    public int getOdds() {
18
+
19
+        return odds;
20
+    }
21
+
22
+    public void setOdds(int odds) {
23
+
24
+        this.odds = odds;
25
+    }
26
+
27
+    public int getEvens() {
28
+
29
+        return evens;
30
+    }
31
+
32
+    public void setEvens(int evens) {
33
+
34
+        this.evens = evens;
35
+    }
36
+
37
+    public static OddEven getOddsAndEvensOfArray(int[] array) {
38
+
39
+        int odd = 0;
40
+
41
+        int evens = 0;
42
+
43
+        for (int i = 0; i < array.length; i++) {
44
+
45
+            if (array[i] % 2 == 0) {
46
+
47
+                evens++;
48
+
49
+            } else {
50
+
51
+                odd++;
52
+            }
53
+        }
54
+        return new OddEven(odd, evens);
55
+    }
56
+
57
+    @Override
58
+    public boolean equals(Object o) {
59
+        if (this == o) return true;
60
+        if (o == null || getClass() != o.getClass()) return false;
61
+        OddEven oddEven = (OddEven) o;
62
+        return odds == oddEven.odds &&
63
+                evens == oddEven.evens;
64
+    }
65
+
66
+    @Override
67
+    public int hashCode() {
68
+        return Objects.hash(odds, evens);
69
+    }
70
+}
71
+
72
+
73
+
74
+

+ 253
- 1
arraz/src/test/java/ArrazTest.java Datei anzeigen

@@ -1,5 +1,257 @@
1
-import static org.junit.Assert.*;
1
+import org.junit.Assert;
2
+import org.junit.Test;
2 3
 
3 4
 public class ArrazTest {
4 5
 
6
+
7
+    @Test
8
+    public void sumValuesOfArrayTest() {
9
+
10
+        //Given
11
+        int[] array = {1, 2, 3};
12
+
13
+        //When
14
+        int expected = 6;
15
+
16
+        int actual = Arraz.sumValuesOfArray(array);
17
+
18
+        //Then
19
+        Assert.assertEquals(expected, actual);
20
+    }
21
+
22
+    @Test
23
+    public void sumValuesOfArrayTest2() {
24
+
25
+        //Given
26
+        int[] array = {5, 10, 15};
27
+
28
+        //When
29
+        int expected = 30;
30
+
31
+        int actual = Arraz.sumValuesOfArray(array);
32
+
33
+        //Then
34
+        Assert.assertEquals(expected, actual);
35
+    }
36
+
37
+    @Test
38
+    public void sumDoublesOfArrayTest() {
39
+
40
+        //Given
41
+        double[] array = {5.5, 10.0, 5.5};
42
+
43
+        //when
44
+        double expected = 21.0;
45
+
46
+        double actual = Arraz.sumDoublesOfArray(array);
47
+
48
+        //Then
49
+        Assert.assertEquals(expected, actual);
50
+    }
51
+
52
+    @Test
53
+    public void sumDoublesOfArrayTest2() {
54
+
55
+        //Given
56
+        double[] array = {20.5, 2.5, 5.5};
57
+
58
+        //When
59
+        double expected = 28.5;
60
+
61
+        double actual = Arraz.sumDoublesOfArray(array);
62
+
63
+        //Then
64
+        Assert.assertEquals(expected, actual);
65
+    }
66
+
67
+    @Test
68
+    public void averageOfArrayTest() {
69
+
70
+        //Given
71
+        int[] array = {1, 2, 3};
72
+
73
+
74
+        //When
75
+        int expected = 2;
76
+
77
+        int actual = Arraz.averageOfArray(array);
78
+
79
+        //Then
80
+        Assert.assertEquals(expected, actual);
81
+    }
82
+
83
+    @Test
84
+    public void averageOfArrayTest2() {
85
+
86
+        //Given
87
+        int[] array = {2, 4, 6, 8};
88
+
89
+
90
+        //When
91
+        int expected = 5;
92
+
93
+        int actual = Arraz.averageOfArray(array);
94
+
95
+        //Then
96
+        Assert.assertEquals(expected, actual);
97
+    }
98
+
99
+    @Test
100
+    public void doubleAverageOfArrayTest() {
101
+
102
+        //Given
103
+        double[] array = {1.0, 2.0, 1.0, 4.0};
104
+
105
+        //When
106
+        double expected = 2.0;
107
+
108
+        double actual = Arraz.doubleAverageOfArray(array);
109
+
110
+        //Then
111
+        Assert.assertEquals(expected, actual);
112
+    }
113
+
114
+    @Test
115
+    public void doubleAverageOfArrayTest2() {
116
+
117
+        //Given
118
+        double[] array = {2.0, 2.0, 2.0, 4.0};
119
+
120
+        //When
121
+        double expected = 2.5;
122
+
123
+        double actual = Arraz.doubleAverageOfArray(array);
124
+
125
+        //Then
126
+        Assert.assertEquals(expected, actual);
127
+    }
128
+
129
+    @Test
130
+    public void containsValueTest() {
131
+
132
+        //Given
133
+        int[] array = {1, 2, 3, 4};
134
+
135
+        int value = 2;
136
+
137
+        //When
138
+        boolean actual = Arraz.containsValue(array, value);
139
+
140
+        //Then
141
+        Assert.assertTrue(actual);
142
+    }
143
+
144
+    @Test
145
+    public void containsValueTest2() {
146
+
147
+        //Given
148
+        int[] array = {1, 2, 3, 4};
149
+
150
+        int value = 4;
151
+
152
+        //When
153
+        boolean actual = Arraz.containsValue(array, value);
154
+
155
+        //Then
156
+        Assert.assertTrue(actual);
157
+    }
158
+
159
+    @Test
160
+    public void reverseArrayTest() {
161
+
162
+        //Given
163
+        int[] array = {1, 2, 3, 4};
164
+
165
+        int[] expected = {4, 3, 2, 1};
166
+
167
+        //When
168
+        int[] actual = Arraz.reverseArray(array);
169
+
170
+        //Then
171
+        Assert.assertEquals(expected[0], actual[0]);
172
+    }
173
+
174
+    @Test
175
+    public void reverseArrayTest2() {
176
+
177
+        //Given
178
+        int[] array = {1, 2, 3, 4};
179
+
180
+        int[] expected = {4, 3, 2, 1};
181
+
182
+        //When
183
+        int[] actual = Arraz.reverseArray(array);
184
+
185
+        //Then
186
+        Assert.assertEquals(expected[3], actual[3]);
187
+    }
188
+
189
+    @Test
190
+    public void findIndexOfArrayTest() {
191
+
192
+        //Given
193
+        int value = 3;
194
+
195
+        int[] array = {1, 2, 3, 4, 5};
196
+
197
+        int expected = 2;
198
+
199
+        //When
200
+        int actual = Arraz.findIndexOfArray(array, value);
201
+
202
+        //Then
203
+        Assert.assertEquals(expected, actual);
204
+
205
+    }
206
+
207
+    @Test
208
+    public void findIndexOfArrayTest2() {
209
+
210
+        //Given
211
+        int value = 5;
212
+
213
+        int[] array = {1, 2, 3, 4, 5, 6};
214
+
215
+        int expected = 4;
216
+
217
+        //When
218
+        int actual = Arraz.findIndexOfArray(array, value);
219
+
220
+        //Then
221
+        Assert.assertEquals(expected, actual);
222
+
223
+    }
224
+
225
+    @Test
226
+    public void copyArrayByIteratorTest() {
227
+
228
+        //Given
229
+        String[] array = {"dude", "where", "is", "my", "car"};
230
+
231
+        String[] expected = {"dude", "where", "is", "my", "car"};
232
+
233
+        //When
234
+        String[] actual = Arraz.copyArrayByIterator(array);
235
+
236
+        //Then
237
+        Assert.assertEquals(expected, actual);
238
+
239
+    }
240
+
241
+    @Test
242
+    public void copyArrayByIteratorTest2() {
243
+
244
+        //Given
245
+        String[] array = {"where", "is", "the", "party", "at"};
246
+
247
+        String[] expected = {"where", "is", "the", "party", "at"};
248
+
249
+        //When
250
+        String[] actual = Arraz.copyArrayByIterator(array);
251
+
252
+
253
+        //Then
254
+        Assert.assertEquals(expected, actual);
255
+
256
+    }
5 257
 }

+ 36
- 0
arraz/src/test/java/OddEvenTest.java Datei anzeigen

@@ -0,0 +1,36 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+public class OddEvenTest {
5
+
6
+    @Test
7
+    public void getOddAndEvensOfArrayTest() {
8
+
9
+        //Given
10
+        int[] array = {1, 2, 3, 4, 5, 6};
11
+
12
+        OddEven expected = new OddEven(3, 3);
13
+
14
+        //When
15
+        OddEven actual = OddEven.getOddsAndEvensOfArray(array);
16
+
17
+
18
+        //Then
19
+        Assert.assertEquals(expected, actual);
20
+    }
21
+
22
+    @Test
23
+    public void getOddAndEvensOfArrayTest2() {
24
+
25
+        //Given
26
+        int[] array = {1, 2, 3, 4, 5, 6, 7, 8};
27
+
28
+        OddEven expected = new OddEven(4, 4);
29
+
30
+        //When
31
+        OddEven actual = OddEven.getOddsAndEvensOfArray(array);
32
+
33
+        //Then
34
+        Assert.assertEquals(expected, actual);
35
+    }
36
+}