Browse Source

getting started

Nuridalia.Hernandez 6 years ago
parent
commit
2082076290

+ 1
- 0
.idea/misc.xml View File

7
       </list>
7
       </list>
8
     </option>
8
     </option>
9
   </component>
9
   </component>
10
+  <component name="ProjectRootManager" version="2" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
10
 </project>
11
 </project>

+ 267
- 228
.idea/workspace.xml View File

2
 <project version="4">
2
 <project version="4">
3
   <component name="ChangeListManager">
3
   <component name="ChangeListManager">
4
     <list default="true" id="3455511b-a100-4bbd-b07c-68f009bc8dbc" name="Default" comment="">
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/OddEven.java" afterDir="false" />
6
+      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/arraz/arraz.iml" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/arraz.iml" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" afterDir="false" />
7
     </list>
11
     </list>
8
     <ignored path="$PROJECT_DIR$/arraz/target/" />
12
     <ignored path="$PROJECT_DIR$/arraz/target/" />
9
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
13
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
-    <option name="TRACKING_ENABLED" value="true" />
11
     <option name="SHOW_DIALOG" value="false" />
14
     <option name="SHOW_DIALOG" value="false" />
12
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
15
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
13
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
16
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
14
     <option name="LAST_RESOLUTION" value="IGNORE" />
17
     <option name="LAST_RESOLUTION" value="IGNORE" />
15
   </component>
18
   </component>
19
+  <component name="FUSProjectUsageTrigger">
20
+    <session id="-1521478867">
21
+      <usages-collector id="statistics.lifecycle.project">
22
+        <counts>
23
+          <entry key="project.open.time.1" value="1" />
24
+          <entry key="project.opened" value="1" />
25
+        </counts>
26
+      </usages-collector>
27
+      <usages-collector id="statistics.file.extensions.edit">
28
+        <counts>
29
+          <entry key="java" value="2310" />
30
+        </counts>
31
+      </usages-collector>
32
+      <usages-collector id="statistics.file.types.edit">
33
+        <counts>
34
+          <entry key="JAVA" value="2310" />
35
+        </counts>
36
+      </usages-collector>
37
+      <usages-collector id="statistics.file.extensions.open">
38
+        <counts>
39
+          <entry key="java" value="3" />
40
+        </counts>
41
+      </usages-collector>
42
+      <usages-collector id="statistics.file.types.open">
43
+        <counts>
44
+          <entry key="JAVA" value="3" />
45
+        </counts>
46
+      </usages-collector>
47
+    </session>
48
+  </component>
16
   <component name="FileEditorManager">
49
   <component name="FileEditorManager">
17
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="375">
50
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="375">
18
-      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
51
+      <file pinned="false" current-in-tab="false">
19
         <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
52
         <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
20
-          <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 />
24
-            </state>
25
-          </provider>
53
+          <provider selected="true" editor-type-id="text-editor" />
26
         </entry>
54
         </entry>
27
       </file>
55
       </file>
28
-      <file leaf-file-name="Arraz.java" pinned="false" current-in-tab="false">
56
+      <file pinned="false" current-in-tab="true">
29
         <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
57
         <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
30
           <provider selected="true" editor-type-id="text-editor">
58
           <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 />
59
+            <state relative-caret-position="263">
60
+              <caret line="128" lean-forward="true" selection-start-line="128" selection-end-line="128" />
61
+              <folding>
62
+                <element signature="imports" expanded="true" />
63
+                <element signature="e#468#469#0" expanded="true" />
64
+                <element signature="e#492#493#0" expanded="true" />
65
+              </folding>
34
             </state>
66
             </state>
35
           </provider>
67
           </provider>
36
         </entry>
68
         </entry>
37
       </file>
69
       </file>
38
-      <file leaf-file-name="ArrazTest.java" pinned="false" current-in-tab="false">
70
+      <file pinned="false" current-in-tab="false">
39
         <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
71
         <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
40
           <provider selected="true" editor-type-id="text-editor">
72
           <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 />
73
+            <state relative-caret-position="308">
74
+              <caret line="115" selection-start-line="115" selection-end-line="115" />
75
+              <folding>
76
+                <element signature="imports" expanded="true" />
77
+              </folding>
44
             </state>
78
             </state>
45
           </provider>
79
           </provider>
46
         </entry>
80
         </entry>
47
       </file>
81
       </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 />
82
+      <file pinned="false" current-in-tab="false">
83
+        <entry file="file://$PROJECT_DIR$/arraz/src/main/java/OddEven.java">
84
+          <provider selected="true" editor-type-id="text-editor">
85
+            <state relative-caret-position="60">
86
+              <caret line="4" column="41" selection-start-line="4" selection-start-column="41" selection-end-line="4" selection-end-column="41" />
57
             </state>
87
             </state>
58
           </provider>
88
           </provider>
59
         </entry>
89
         </entry>
63
   <component name="FileTemplateManagerImpl">
93
   <component name="FileTemplateManagerImpl">
64
     <option name="RECENT_TEMPLATES">
94
     <option name="RECENT_TEMPLATES">
65
       <list>
95
       <list>
66
-        <option value="Class" />
67
         <option value="JUnit4 Test Class" />
96
         <option value="JUnit4 Test Class" />
97
+        <option value="Class" />
68
       </list>
98
       </list>
69
     </option>
99
     </option>
70
   </component>
100
   </component>
72
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
102
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
73
   </component>
103
   </component>
74
   <component name="GradleLocalSettings">
104
   <component name="GradleLocalSettings">
75
-    <option name="externalProjectsViewState">
76
-      <projects_view />
77
-    </option>
78
     <option name="projectSyncType">
105
     <option name="projectSyncType">
79
       <map>
106
       <map>
80
         <entry key="$USER_HOME$/GitHub/gs-gradle/initial" value="PREVIEW" />
107
         <entry key="$USER_HOME$/GitHub/gs-gradle/initial" value="PREVIEW" />
84
   <component name="IdeDocumentHistory">
111
   <component name="IdeDocumentHistory">
85
     <option name="CHANGED_PATHS">
112
     <option name="CHANGED_PATHS">
86
       <list>
113
       <list>
87
-        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
88
         <option value="$PROJECT_DIR$/README.md" />
114
         <option value="$PROJECT_DIR$/README.md" />
115
+        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
116
+        <option value="$PROJECT_DIR$/arraz/src/main/java/OddEven.java" />
117
+        <option value="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" />
89
       </list>
118
       </list>
90
     </option>
119
     </option>
91
   </component>
120
   </component>
103
     </option>
132
     </option>
104
   </component>
133
   </component>
105
   <component name="ProjectFrameBounds">
134
   <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" />
135
+    <option name="y" value="23" />
136
+    <option name="width" value="1280" />
137
+    <option name="height" value="713" />
110
   </component>
138
   </component>
111
   <component name="ProjectView">
139
   <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 />
140
+    <navigator proportions="" version="1">
123
       <foldersAlwaysOnTop value="true" />
141
       <foldersAlwaysOnTop value="true" />
124
     </navigator>
142
     </navigator>
125
     <panes>
143
     <panes>
151
             <path>
169
             <path>
152
               <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
170
               <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
153
               <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
171
               <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
172
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
173
+              <item name="src" type="462c0819:PsiDirectoryNode" />
174
+              <item name="main" type="462c0819:PsiDirectoryNode" />
175
+              <item name="java" type="462c0819:PsiDirectoryNode" />
176
+            </path>
177
+            <path>
178
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
179
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
180
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
181
+              <item name="src" type="462c0819:PsiDirectoryNode" />
182
+              <item name="test" type="462c0819:PsiDirectoryNode" />
183
+            </path>
184
+            <path>
185
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
186
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
187
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
188
+              <item name="src" type="462c0819:PsiDirectoryNode" />
189
+              <item name="test" type="462c0819:PsiDirectoryNode" />
190
+              <item name="java" type="462c0819:PsiDirectoryNode" />
191
+            </path>
192
+            <path>
193
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
194
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
154
               <item name="DocumentationOnArrays" type="462c0819:PsiDirectoryNode" />
195
               <item name="DocumentationOnArrays" type="462c0819:PsiDirectoryNode" />
155
             </path>
196
             </path>
156
           </expand>
197
           </expand>
157
           <select />
198
           <select />
158
         </subPane>
199
         </subPane>
159
       </pane>
200
       </pane>
160
-      <pane id="Scratches" />
161
       <pane id="PackagesPane" />
201
       <pane id="PackagesPane" />
162
-      <pane id="AndroidView" />
163
       <pane id="Scope" />
202
       <pane id="Scope" />
164
     </panes>
203
     </panes>
165
   </component>
204
   </component>
166
   <component name="PropertiesComponent">
205
   <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" />
206
+    <property name="GO_FMT" value="false" />
169
     <property name="WebServerToolWindowFactoryState" value="false" />
207
     <property name="WebServerToolWindowFactoryState" value="false" />
170
     <property name="aspect.path.notification.shown" value="true" />
208
     <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" />
209
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1544070069932" />
173
     <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
210
     <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
174
-    <property name="GO_FMT" value="false" />
211
+    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
212
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
213
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
214
+    <property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
175
   </component>
215
   </component>
176
   <component name="RecentsManager">
216
   <component name="RecentsManager">
177
     <key name="CreateTestDialog.RecentsKey">
217
     <key name="CreateTestDialog.RecentsKey">
193
       </list>
233
       </list>
194
     </option>
234
     </option>
195
   </component>
235
   </component>
196
-  <component name="RunManager">
236
+  <component name="RunManager" selected="JUnit.ArrazTest.testReverseArray">
197
     <configuration default="true" type="Applet" factoryName="Applet">
237
     <configuration default="true" type="Applet" factoryName="Applet">
198
-      <option name="WIDTH" value="400" />
199
-      <option name="HEIGHT" value="300" />
200
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
238
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
201
-      <module />
239
+      <method v="2">
240
+        <option name="Make" enabled="true" />
241
+      </method>
202
     </configuration>
242
     </configuration>
203
     <configuration default="true" type="Application" factoryName="Application">
243
     <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
       <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
244
       <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 />
245
+      <method v="2">
246
+        <option name="Make" enabled="true" />
247
+      </method>
216
     </configuration>
248
     </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" />
249
+    <configuration name="ArrazTest.test1AverageOfArray" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
250
+      <module name="arraz" />
251
+      <option name="PACKAGE_NAME" value="" />
252
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
253
+      <option name="METHOD_NAME" value="test1AverageOfArray" />
254
+      <option name="TEST_OBJECT" value="method" />
228
       <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
255
       <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 />
256
+      <method v="2">
257
+        <option name="Make" enabled="true" />
258
+      </method>
236
     </configuration>
259
     </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" />
260
+    <configuration name="ArrazTest.test1DoubleAverageOfArray" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
261
+      <module name="arraz" />
262
+      <option name="PACKAGE_NAME" value="" />
263
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
264
+      <option name="METHOD_NAME" value="test1DoubleAverageOfArray" />
265
+      <option name="TEST_OBJECT" value="method" />
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.test2AverageOfArray" 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="test2AverageOfArray" />
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.test2DoubleAverageOfArray" 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="test2DoubleAverageOfArray" />
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.testReverseArray" 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="testReverseArray" />
298
+      <option name="TEST_OBJECT" value="method" />
299
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
300
+      <method v="2">
301
+        <option name="Make" enabled="true" />
302
+      </method>
303
+    </configuration>
304
+    <configuration default="true" type="JUnit" factoryName="JUnit">
305
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
306
+      <method v="2">
307
+        <option name="Make" enabled="true" />
308
+      </method>
243
     </configuration>
309
     </configuration>
244
     <configuration default="true" type="TestNG" factoryName="TestNG">
310
     <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
       <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
311
       <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
       <properties />
312
       <properties />
269
       <listeners />
313
       <listeners />
314
+      <method v="2">
315
+        <option name="Make" enabled="true" />
316
+      </method>
270
     </configuration>
317
     </configuration>
271
     <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
318
     <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
272
       <module name="" />
319
       <module name="" />
273
       <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
320
       <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
274
       <option name="PROGRAM_PARAMETERS" />
321
       <option name="PROGRAM_PARAMETERS" />
275
       <predefined_log_file id="idea.log" enabled="true" />
322
       <predefined_log_file id="idea.log" enabled="true" />
323
+      <method v="2">
324
+        <option name="Make" enabled="true" />
325
+      </method>
276
     </configuration>
326
     </configuration>
277
-  </component>
278
-  <component name="ShelveChangesManager" show_recycled="false">
279
-    <option name="remove_strategy" value="false" />
327
+    <list>
328
+      <item itemvalue="JUnit.ArrazTest.test1AverageOfArray" />
329
+      <item itemvalue="JUnit.ArrazTest.test2AverageOfArray" />
330
+      <item itemvalue="JUnit.ArrazTest.test1DoubleAverageOfArray" />
331
+      <item itemvalue="JUnit.ArrazTest.test2DoubleAverageOfArray" />
332
+      <item itemvalue="JUnit.ArrazTest.testReverseArray" />
333
+    </list>
334
+    <recent_temporary>
335
+      <list>
336
+        <item itemvalue="JUnit.ArrazTest.testReverseArray" />
337
+        <item itemvalue="JUnit.ArrazTest.test2DoubleAverageOfArray" />
338
+        <item itemvalue="JUnit.ArrazTest.test1DoubleAverageOfArray" />
339
+        <item itemvalue="JUnit.ArrazTest.test2AverageOfArray" />
340
+        <item itemvalue="JUnit.ArrazTest.test1AverageOfArray" />
341
+      </list>
342
+    </recent_temporary>
280
   </component>
343
   </component>
281
   <component name="SvnConfiguration">
344
   <component name="SvnConfiguration">
282
     <configuration />
345
     <configuration />
291
       <workItem from="1543955862749" duration="2347000" />
354
       <workItem from="1543955862749" duration="2347000" />
292
       <workItem from="1543958998826" duration="113000" />
355
       <workItem from="1543958998826" duration="113000" />
293
       <workItem from="1544020724645" duration="762000" />
356
       <workItem from="1544020724645" duration="762000" />
357
+      <workItem from="1544059069745" duration="8232000" />
294
     </task>
358
     </task>
295
     <task id="LOCAL-00001" summary="readme and docs">
359
     <task id="LOCAL-00001" summary="readme and docs">
296
       <created>1544021313039</created>
360
       <created>1544021313039</created>
302
     <option name="localTasksCounter" value="2" />
366
     <option name="localTasksCounter" value="2" />
303
     <servers />
367
     <servers />
304
   </component>
368
   </component>
369
+  <component name="TestHistory">
370
+    <history-entry file="ArrazTest_test2AverageOfArray - 2018.12.05 at 22h 20m 25s.xml">
371
+      <configuration name="ArrazTest.test2AverageOfArray" configurationId="JUnit" />
372
+    </history-entry>
373
+    <history-entry file="ArrazTest_test1DoubleAverageOfArray - 2018.12.05 at 22h 22m 18s.xml">
374
+      <configuration name="ArrazTest.test1DoubleAverageOfArray" configurationId="JUnit" />
375
+    </history-entry>
376
+    <history-entry file="ArrazTest_test1DoubleAverageOfArray - 2018.12.05 at 22h 22m 45s.xml">
377
+      <configuration name="ArrazTest.test1DoubleAverageOfArray" configurationId="JUnit" />
378
+    </history-entry>
379
+    <history-entry file="ArrazTest_test2DoubleAverageOfArray - 2018.12.05 at 22h 23m 59s.xml">
380
+      <configuration name="ArrazTest.test2DoubleAverageOfArray" configurationId="JUnit" />
381
+    </history-entry>
382
+    <history-entry file="ArrazTest_test2DoubleAverageOfArray - 2018.12.05 at 22h 24m 27s.xml">
383
+      <configuration name="ArrazTest.test2DoubleAverageOfArray" configurationId="JUnit" />
384
+    </history-entry>
385
+    <history-entry file="ArrazTest_testReverseArray - 2018.12.05 at 22h 34m 11s.xml">
386
+      <configuration name="ArrazTest.testReverseArray" configurationId="JUnit" />
387
+    </history-entry>
388
+    <history-entry file="ArrazTest_testReverseArray - 2018.12.05 at 22h 35m 06s.xml">
389
+      <configuration name="ArrazTest.testReverseArray" configurationId="JUnit" />
390
+    </history-entry>
391
+    <history-entry file="ArrazTest_testReverseArray - 2018.12.05 at 22h 35m 44s.xml">
392
+      <configuration name="ArrazTest.testReverseArray" configurationId="JUnit" />
393
+    </history-entry>
394
+    <history-entry file="ArrazTest_testReverseArray - 2018.12.05 at 22h 36m 59s.xml">
395
+      <configuration name="ArrazTest.testReverseArray" configurationId="JUnit" />
396
+    </history-entry>
397
+    <history-entry file="ArrazTest_testReverseArray - 2018.12.05 at 22h 37m 12s.xml">
398
+      <configuration name="ArrazTest.testReverseArray" configurationId="JUnit" />
399
+    </history-entry>
400
+  </component>
305
   <component name="TimeTrackingManager">
401
   <component name="TimeTrackingManager">
306
-    <option name="totallyTimeSpent" value="3222000" />
402
+    <option name="totallyTimeSpent" value="11454000" />
307
   </component>
403
   </component>
308
   <component name="ToolWindowManager">
404
   <component name="ToolWindowManager">
309
-    <frame x="242" y="45" width="1538" height="962" extended-state="0" />
405
+    <frame x="0" y="23" width="1280" height="713" extended-state="0" />
310
     <editor active="true" />
406
     <editor active="true" />
311
     <layout>
407
     <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" />
408
+      <window_info content_ui="combo" id="Project" order="0" weight="0.54362416" />
409
+      <window_info id="Structure" order="1" weight="0.25" />
410
+      <window_info id="Image Layers" order="2" />
411
+      <window_info id="Designer" order="3" />
412
+      <window_info id="UI Designer" order="4" />
413
+      <window_info id="Capture Tool" order="5" />
414
+      <window_info id="Favorites" order="6" side_tool="true" />
415
+      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
416
+      <window_info anchor="bottom" id="Messages" weight="0.32876712" />
417
+      <window_info anchor="bottom" id="Message" order="0" />
418
+      <window_info anchor="bottom" id="Find" order="1" />
419
+      <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.38647342" />
420
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
421
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
422
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
423
+      <window_info anchor="bottom" id="TODO" order="6" />
424
+      <window_info anchor="bottom" id="Terminal" order="7" />
425
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
426
+      <window_info anchor="bottom" id="Version Control" order="9" />
427
+      <window_info anchor="right" id="SciView" />
428
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
429
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
430
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
431
+      <window_info anchor="right" id="Palette" order="3" />
432
+      <window_info anchor="right" id="Capture Analysis" order="4" />
433
+      <window_info anchor="right" id="Theme Preview" order="5" />
434
+      <window_info anchor="right" id="Database" order="6" />
435
+      <window_info anchor="right" id="Palette&#9;" order="7" />
436
+      <window_info anchor="right" id="Maven Projects" order="8" />
338
     </layout>
437
     </layout>
339
   </component>
438
   </component>
340
   <component name="TypeScriptGeneratedFilesManager">
439
   <component name="TypeScriptGeneratedFilesManager">
347
     <MESSAGE value="readme and docs" />
446
     <MESSAGE value="readme and docs" />
348
     <option name="LAST_COMMIT_MESSAGE" value="readme and docs" />
447
     <option name="LAST_COMMIT_MESSAGE" value="readme and docs" />
349
   </component>
448
   </component>
350
-  <component name="XDebuggerManager">
351
-    <breakpoint-manager />
352
-    <watches-manager />
353
-  </component>
354
   <component name="editorHistoryManager">
449
   <component name="editorHistoryManager">
355
     <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
450
     <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>
451
+      <provider selected="true" editor-type-id="text-editor" />
378
     </entry>
452
     </entry>
379
     <entry file="file://$PROJECT_DIR$/README.md">
453
     <entry file="file://$PROJECT_DIR$/README.md">
380
       <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
454
       <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
381
         <state split_layout="SPLIT">
455
         <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 />
456
+          <first_editor relative-caret-position="270">
457
+            <caret line="18" selection-start-line="18" selection-end-line="18" />
385
           </first_editor>
458
           </first_editor>
386
           <second_editor />
459
           <second_editor />
387
         </state>
460
         </state>
388
       </provider>
461
       </provider>
389
     </entry>
462
     </entry>
390
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
391
-      <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 />
395
-        </state>
396
-      </provider>
397
-    </entry>
398
-    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
399
-      <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 />
403
-        </state>
404
-      </provider>
405
-    </entry>
406
     <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
463
     <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
407
       <provider selected="true" editor-type-id="text-editor">
464
       <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 />
411
-        </state>
412
-      </provider>
413
-    </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 />
465
+        <state relative-caret-position="308">
466
+          <caret line="115" selection-start-line="115" selection-end-line="115" />
467
+          <folding>
468
+            <element signature="imports" expanded="true" />
469
+          </folding>
422
         </state>
470
         </state>
423
       </provider>
471
       </provider>
424
     </entry>
472
     </entry>
425
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
473
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/OddEven.java">
426
       <provider selected="true" editor-type-id="text-editor">
474
       <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 />
475
+        <state relative-caret-position="60">
476
+          <caret line="4" column="41" selection-start-line="4" selection-start-column="41" selection-end-line="4" selection-end-column="41" />
430
         </state>
477
         </state>
431
       </provider>
478
       </provider>
432
     </entry>
479
     </entry>
433
-    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
480
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/util/Iterator.java">
434
       <provider selected="true" editor-type-id="text-editor">
481
       <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 />
482
+        <state relative-caret-position="383">
483
+          <caret line="53" column="17" selection-start-line="53" selection-start-column="17" selection-end-line="53" selection-end-column="17" />
438
         </state>
484
         </state>
439
       </provider>
485
       </provider>
440
     </entry>
486
     </entry>
441
-    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
487
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
442
       <provider selected="true" editor-type-id="text-editor">
488
       <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 />
489
+        <state relative-caret-position="263">
490
+          <caret line="128" lean-forward="true" selection-start-line="128" selection-end-line="128" />
491
+          <folding>
492
+            <element signature="imports" expanded="true" />
493
+            <element signature="e#468#469#0" expanded="true" />
494
+            <element signature="e#492#493#0" expanded="true" />
495
+          </folding>
457
         </state>
496
         </state>
458
       </provider>
497
       </provider>
459
     </entry>
498
     </entry>

+ 16
- 0
arraz/.idea/compiler.xml View File

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

+ 13
- 0
arraz/.idea/libraries/Maven__junit_junit_4_0.xml View File

1
+<component name="libraryTable">
2
+  <library name="Maven: junit:junit:4.0">
3
+    <CLASSES>
4
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0.jar!/" />
5
+    </CLASSES>
6
+    <JAVADOC>
7
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0-javadoc.jar!/" />
8
+    </JAVADOC>
9
+    <SOURCES>
10
+      <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0-sources.jar!/" />
11
+    </SOURCES>
12
+  </library>
13
+</component>

+ 13
- 0
arraz/.idea/misc.xml View File

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="MavenProjectsManager">
4
+    <option name="originalFiles">
5
+      <list>
6
+        <option value="$PROJECT_DIR$/pom.xml" />
7
+      </list>
8
+    </option>
9
+  </component>
10
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK">
11
+    <output url="file://$PROJECT_DIR$/classes" />
12
+  </component>
13
+</project>

+ 8
- 0
arraz/.idea/modules.xml View File

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

+ 6
- 0
arraz/.idea/vcs.xml View File

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

+ 205
- 0
arraz/.idea/workspace.xml View File

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="0c2c6f8b-1924-4233-96d3-547219bcb47b" name="Default Changelist" comment="">
5
+      <change beforePath="$PROJECT_DIR$/arraz.iml" beforeDir="false" />
6
+    </list>
7
+    <ignored path="$PROJECT_DIR$/target/" />
8
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+    <option name="SHOW_DIALOG" value="false" />
10
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12
+    <option name="LAST_RESOLUTION" value="IGNORE" />
13
+  </component>
14
+  <component name="FUSProjectUsageTrigger">
15
+    <session id="1496889644">
16
+      <usages-collector id="statistics.lifecycle.project">
17
+        <counts>
18
+          <entry key="project.closed" value="1" />
19
+          <entry key="project.open.time.0" value="1" />
20
+          <entry key="project.opened" value="1" />
21
+        </counts>
22
+      </usages-collector>
23
+    </session>
24
+  </component>
25
+  <component name="Git.Settings">
26
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
27
+  </component>
28
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
29
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
30
+  <component name="JsGulpfileManager">
31
+    <detection-done>true</detection-done>
32
+    <sorting>DEFINITION_ORDER</sorting>
33
+  </component>
34
+  <component name="ProjectFrameBounds">
35
+    <option name="y" value="23" />
36
+    <option name="width" value="638" />
37
+    <option name="height" value="713" />
38
+  </component>
39
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
40
+  <component name="ProjectView">
41
+    <navigator proportions="" version="1">
42
+      <foldersAlwaysOnTop value="true" />
43
+    </navigator>
44
+    <panes>
45
+      <pane id="ProjectPane" />
46
+      <pane id="Scope" />
47
+      <pane id="PackagesPane" />
48
+    </panes>
49
+  </component>
50
+  <component name="PropertiesComponent">
51
+    <property name="WebServerToolWindowFactoryState" value="false" />
52
+    <property name="aspect.path.notification.shown" value="true" />
53
+    <property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
54
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
55
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
56
+  </component>
57
+  <component name="RunDashboard">
58
+    <option name="ruleStates">
59
+      <list>
60
+        <RuleState>
61
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
62
+        </RuleState>
63
+        <RuleState>
64
+          <option name="name" value="StatusDashboardGroupingRule" />
65
+        </RuleState>
66
+      </list>
67
+    </option>
68
+  </component>
69
+  <component name="RunManager">
70
+    <configuration default="true" type="tests" factoryName="Nosetests">
71
+      <option name="INTERPRETER_OPTIONS" value="" />
72
+      <option name="PARENT_ENVS" value="true" />
73
+      <option name="SDK_HOME" value="" />
74
+      <option name="WORKING_DIRECTORY" value="" />
75
+      <option name="IS_MODULE_SDK" value="false" />
76
+      <option name="ADD_CONTENT_ROOTS" value="true" />
77
+      <option name="ADD_SOURCE_ROOTS" value="true" />
78
+      <module name="" />
79
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
80
+      <option name="_new_regexPattern" value="&quot;&quot;" />
81
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
82
+      <option name="_new_target" value="&quot;&quot;" />
83
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
84
+      <method v="2" />
85
+    </configuration>
86
+    <configuration default="true" type="tests" factoryName="Twisted Trial">
87
+      <option name="INTERPRETER_OPTIONS" value="" />
88
+      <option name="PARENT_ENVS" value="true" />
89
+      <option name="SDK_HOME" value="" />
90
+      <option name="WORKING_DIRECTORY" value="" />
91
+      <option name="IS_MODULE_SDK" value="false" />
92
+      <option name="ADD_CONTENT_ROOTS" value="true" />
93
+      <option name="ADD_SOURCE_ROOTS" value="true" />
94
+      <module name="" />
95
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
96
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
97
+      <option name="_new_target" value="&quot;&quot;" />
98
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
99
+      <method v="2" />
100
+    </configuration>
101
+    <configuration default="true" type="tests" factoryName="Unittests">
102
+      <option name="INTERPRETER_OPTIONS" value="" />
103
+      <option name="PARENT_ENVS" value="true" />
104
+      <option name="SDK_HOME" value="" />
105
+      <option name="WORKING_DIRECTORY" value="" />
106
+      <option name="IS_MODULE_SDK" value="false" />
107
+      <option name="ADD_CONTENT_ROOTS" value="true" />
108
+      <option name="ADD_SOURCE_ROOTS" value="true" />
109
+      <module name="" />
110
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
111
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
112
+      <option name="_new_target" value="&quot;&quot;" />
113
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
114
+      <method v="2" />
115
+    </configuration>
116
+    <configuration default="true" type="tests" factoryName="py.test">
117
+      <option name="INTERPRETER_OPTIONS" value="" />
118
+      <option name="PARENT_ENVS" value="true" />
119
+      <option name="SDK_HOME" value="" />
120
+      <option name="WORKING_DIRECTORY" value="" />
121
+      <option name="IS_MODULE_SDK" value="false" />
122
+      <option name="ADD_CONTENT_ROOTS" value="true" />
123
+      <option name="ADD_SOURCE_ROOTS" value="true" />
124
+      <module name="" />
125
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
126
+      <option name="_new_keywords" value="&quot;&quot;" />
127
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
128
+      <option name="_new_target" value="&quot;&quot;" />
129
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
130
+      <method v="2" />
131
+    </configuration>
132
+  </component>
133
+  <component name="SvnConfiguration">
134
+    <configuration />
135
+  </component>
136
+  <component name="TaskManager">
137
+    <task active="true" id="Default" summary="Default task">
138
+      <changelist id="0c2c6f8b-1924-4233-96d3-547219bcb47b" name="Default Changelist" comment="" />
139
+      <created>1544059041471</created>
140
+      <option name="number" value="Default" />
141
+      <option name="presentableId" value="Default" />
142
+      <updated>1544059041471</updated>
143
+      <workItem from="1544059042867" duration="9000" />
144
+    </task>
145
+    <servers />
146
+  </component>
147
+  <component name="TimeTrackingManager">
148
+    <option name="totallyTimeSpent" value="9000" />
149
+  </component>
150
+  <component name="ToolWindowManager">
151
+    <frame x="0" y="23" width="638" height="713" extended-state="0" />
152
+    <layout>
153
+      <window_info id="Image Layers" />
154
+      <window_info id="Designer" />
155
+      <window_info id="UI Designer" />
156
+      <window_info id="Capture Tool" />
157
+      <window_info id="Favorites" side_tool="true" />
158
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25" />
159
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
160
+      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
161
+      <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
162
+      <window_info anchor="bottom" id="Terminal" />
163
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
164
+      <window_info anchor="bottom" id="Message" order="0" />
165
+      <window_info anchor="bottom" id="Find" order="1" />
166
+      <window_info anchor="bottom" id="Run" order="2" />
167
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
168
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
169
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
170
+      <window_info anchor="bottom" id="TODO" order="6" />
171
+      <window_info anchor="right" id="Palette" />
172
+      <window_info anchor="right" id="Theme Preview" />
173
+      <window_info anchor="right" id="Capture Analysis" />
174
+      <window_info anchor="right" id="Palette&#9;" />
175
+      <window_info anchor="right" id="SciView" />
176
+      <window_info anchor="right" id="Database" />
177
+      <window_info anchor="right" id="Maven Projects" />
178
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
179
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
180
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
181
+    </layout>
182
+  </component>
183
+  <component name="TypeScriptGeneratedFilesManager">
184
+    <option name="version" value="1" />
185
+  </component>
186
+  <component name="VcsContentAnnotationSettings">
187
+    <option name="myLimit" value="2678400000" />
188
+  </component>
189
+  <component name="masterDetails">
190
+    <states>
191
+      <state key="ProjectJDKs.UI">
192
+        <settings>
193
+          <last-edited>1.8</last-edited>
194
+          <splitter-proportions>
195
+            <option name="proportions">
196
+              <list>
197
+                <option value="0.2" />
198
+              </list>
199
+            </option>
200
+          </splitter-proportions>
201
+        </settings>
202
+      </state>
203
+    </states>
204
+  </component>
205
+</project>

+ 1
- 2
arraz/arraz.iml View File

5
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
5
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
     <content url="file://$MODULE_DIR$">
6
     <content url="file://$MODULE_DIR$">
7
       <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
7
       <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
9
       <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
8
       <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
10
       <excludeFolder url="file://$MODULE_DIR$/target" />
9
       <excludeFolder url="file://$MODULE_DIR$/target" />
11
     </content>
10
     </content>
12
-    <orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
11
+    <orderEntry type="inheritedJdk" />
13
     <orderEntry type="sourceFolder" forTests="false" />
12
     <orderEntry type="sourceFolder" forTests="false" />
14
     <orderEntry type="library" name="Maven: junit:junit:4.0" level="project" />
13
     <orderEntry type="library" name="Maven: junit:junit:4.0" level="project" />
15
   </component>
14
   </component>

+ 134
- 0
arraz/src/main/java/Arraz.java View File

1
+import java.util.Arrays;
2
+import java.util.Iterator;
3
+
1
 public class Arraz {
4
 public class Arraz {
5
+    public  static int  sumValuesOfArray(int [] arr){
6
+        int sum = 0 ;
7
+        for (int i: arr) {
8
+            sum += i;
9
+
10
+        }
11
+        return sum;
12
+
13
+    }
14
+    public static  double sumDoublesOfArray(double [] arr){
15
+        double sum = 0;
16
+        for (double i: arr) {
17
+            sum += i;
18
+        }
19
+            return sum;
20
+
21
+    }
22
+    public static int averageOfArray( int [] arr){
23
+
24
+
25
+        return sumValuesOfArray(arr) / arr.length;
26
+    }
27
+    public  static double  doubleAverageOfArray (double [] arr){
28
+        return  sumDoublesOfArray(arr) / arr.length;
29
+    }
30
+
31
+    public static boolean containValue( int [] arr, int number){
32
+        for (int i : arr) {
33
+
34
+            if (i == number ){
35
+                return true;
36
+            }
37
+        }
38
+
39
+        return false;
40
+    }
41
+
42
+    public static   int [] reverseArray (int [] arr){
43
+        int [] result = new int [arr.length];
44
+        int index = 0;
45
+
46
+        for (int  i = arr.length -1; i>=0; i --) {
47
+
48
+            result[index] = arr[i];
49
+            index++;
50
+
51
+
52
+
53
+
54
+        }
55
+
56
+
57
+        return result;
58
+    }
59
+
60
+    public static OddEven getOddEvensOfArray(int [] arr){
61
+
62
+        int odd = 0;
63
+        int even = 0;
64
+
65
+        for (int i:arr) {
66
+            if (i % 2 == 0){
67
+                odd ++;
68
+            }else {
69
+                even ++;
70
+            }
71
+
72
+        } {
73
+
74
+        }
75
+        return new OddEven(odd,even) ;
76
+
77
+    }
78
+
79
+    public static int findIndexOf( int [] arr, int value){
80
+
81
+     int num = -1;
82
+        for (int i: arr) {
83
+            if (value == arr[i]){
84
+                num = i;
85
+
86
+            }
87
+
88
+        }
89
+        return num;
90
+    }
91
+
92
+    public static Integer [] copyArrayByInterator( Integer [] arr){
93
+        Iterator <Integer> integerIterator = (Iterator<Integer>) Arrays.asList(arr);
94
+        Integer [] copyArr = new Integer[arr.length];
95
+        int index=0;
96
+
97
+        while (integerIterator.hasNext()){
98
+            copyArr [index] = integerIterator.next();
99
+            index++;
100
+
101
+
102
+        }
103
+
104
+   return copyArr;
105
+    }
106
+
107
+    public static int [] copyArrayByloop( int [] arr){
108
+        int [] copyArr = new int [arr.length];
109
+
110
+        int index = 0;
111
+        for (int i = 0; i <arr.length ; i++) {
112
+            copyArr[index] = arr [i];
113
+            index++;
114
+
115
+
116
+        }
117
+        return copyArr;
118
+    }
119
+
120
+    public static int [] removeElemetFromArray( int [] arr, int value){
121
+        int [] result = new int [arr.length-1];
122
+        int index = 0;
123
+        for (int i:arr) {
124
+            if (arr [i] != value){
125
+                result[index]= arr[i];
126
+            }
127
+
128
+        }
129
+
130
+return result;
131
+    }
132
+
133
+
134
+
2
 }
135
 }
136
+

+ 9
- 0
arraz/src/main/java/OddEven.java View File

1
+public class OddEven {
2
+    public int odds;
3
+    public int evens;
4
+
5
+    public OddEven(int odds, int evens) {
6
+        this.odds = odds;
7
+        this.evens = evens;
8
+    }
9
+}

+ 114
- 0
arraz/src/test/java/ArrazTest.java View File

1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
1
 import static org.junit.Assert.*;
4
 import static org.junit.Assert.*;
2
 
5
 
3
 public class ArrazTest {
6
 public class ArrazTest {
7
+    int[] spiffyHandyIntArray = new int[] {4,5,102,6,-7,12,-32,92,8};
8
+
9
+    @Test
10
+    public void test1SumValueOfArrayInt(){
11
+        int[] spiffyHandyIntArray = new int[] {4,5,102,6,-7,12,-32,92,8};
12
+
13
+        int expecte = 190;
14
+        int actual = Arraz.sumValuesOfArray(spiffyHandyIntArray);
15
+        Assert.assertEquals(expecte,actual);
16
+
17
+
18
+
19
+    }
20
+    @Test
21
+    public void test2SumValueOfArrayInt(){
22
+        int[] spiffyHandyIntArray = new int[] {4,5,6,-7,12,-32,92,};
23
+
24
+        int expecte = 80;
25
+        int actual = Arraz.sumValuesOfArray(spiffyHandyIntArray);
26
+        Assert.assertEquals(expecte,actual);
27
+
28
+
29
+
30
+    }
31
+
32
+
33
+    @Test
34
+    public void test1SumValueOfArrayDouble(){
35
+        double[] spiffyHandyDoubleArray = new double[] {1.0, 0.5, 3.6, 3.14159};
36
+
37
+
38
+        double expecte = 8.24159;
39
+        double actual = Arraz.sumDoublesOfArray(spiffyHandyDoubleArray);
40
+        Assert.assertEquals(expecte,actual,0.00001);
41
+
42
+
43
+
44
+    }
45
+
46
+    @Test
47
+    public void test2SumValueOfArrayDouble(){
48
+        double[] spiffyHandyDoubleArray = new double[] {1.0, 0.5, 3.6 -0.8};
49
+
50
+
51
+        double expecte = 4.3;
52
+        double actual = Arraz.sumDoublesOfArray(spiffyHandyDoubleArray);
53
+        Assert.assertEquals(expecte,actual,0.01);
54
+
55
+
56
+    }
57
+
58
+    @Test
59
+    public void test1AverageOfArray(){
60
+        int[] spiffyHandyIntArray = new int[] {4,5,6,-7,12,-32,92,};
61
+         int expected = 11;
62
+         int actual = Arraz.averageOfArray(spiffyHandyIntArray);
63
+         Assert.assertEquals(expected, actual);
64
+    }
65
+    @Test
66
+    public void test2AverageOfArray(){
67
+        int[] spiffyHandyIntArray = new int[] {4,5,6,10};
68
+        int expected = 6;
69
+        int actual = Arraz.averageOfArray(spiffyHandyIntArray);
70
+        Assert.assertEquals(expected, actual);
71
+    }
72
+
73
+    @Test
74
+    public void test1DoubleAverageOfArray(){
75
+        double[] spiffyHandyIntArray = new double[] {4.3,5.9,6.09,10.8};
76
+        double expected = 6.77;
77
+        double actual = Arraz.doubleAverageOfArray(spiffyHandyIntArray);
78
+        Assert.assertEquals(expected, actual, 0.01);
79
+    }
80
+
81
+    @Test
82
+    public void test2DoubleAverageOfArray(){
83
+        double[] spiffyHandyIntArray = new double[] {8.0,9.9,8.009,77.06};
84
+        double expected = 25.742;
85
+        double actual = Arraz.doubleAverageOfArray(spiffyHandyIntArray);
86
+        Assert.assertEquals(expected, actual, 0.001);
87
+    }
88
+
89
+
90
+    @Test
91
+    public void test1ContainsValue(){
92
+        int[] spiffyHandyIntArray = new int[] {4,5,6,-7,12,-32,92,};
93
+         int num = -32;
94
+        Assert.assertTrue(Arraz.containValue(spiffyHandyIntArray,num));
95
+
96
+
97
+    }
98
+
99
+    @Test
100
+    public void test2ContainsValue(){
101
+        int[] spiffyHandyIntArray = new int[] {4,5,6,-7,12,-32,92,};
102
+        int num = 6;
103
+        Assert.assertTrue(Arraz.containValue(spiffyHandyIntArray,num));
104
+
105
+
106
+    }
107
+
108
+
109
+
110
+@Test
111
+    public void testReverseArray(){
112
+        int[] spiffyHandyIntArray =  {4,5,6,-7,12,-32,92,};
113
+
114
+        int [] expected =  {92,-32,12,-7,6,5,4};
115
+        int [] actual = Arraz.reverseArray(spiffyHandyIntArray);
116
+
4
 
117
 
118
+}
5
 }
119
 }