Simran Bhutani 6 lat temu
rodzic
commit
c1d5ea5d3d

+ 1
- 1
.idea/compiler.xml Wyświetl plik

@@ -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 Wyświetl plik

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

+ 124
- 0
.idea/uiDesigner.xml Wyświetl plik

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

+ 340
- 229
.idea/workspace.xml Wyświetl plik

@@ -2,58 +2,105 @@
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 beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
10
+      <change beforePath="$PROJECT_DIR$/arraz/arraz.iml" beforeDir="false" />
11
+      <change beforePath="$PROJECT_DIR$/arraz/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/pom.xml" afterDir="false" />
12
+      <change beforePath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" afterDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" beforeDir="false" afterPath="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" afterDir="false" />
7 14
     </list>
8 15
     <ignored path="$PROJECT_DIR$/arraz/target/" />
9 16
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
-    <option name="TRACKING_ENABLED" value="true" />
11 17
     <option name="SHOW_DIALOG" value="false" />
12 18
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
13 19
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
14 20
     <option name="LAST_RESOLUTION" value="IGNORE" />
15 21
   </component>
22
+  <component name="CoverageDataManager">
23
+    <SUITE FILE_PATH="coverage/ArraysGoneWild$ArrazTest_test2RemoveDupesFromArray.ic" NAME="ArrazTest.test2RemoveDupesFromArray Coverage Results" MODIFIED="1544413792903" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
24
+  </component>
25
+  <component name="CoverageViewManager">
26
+    <option name="myElementSize" value="201" />
27
+  </component>
28
+  <component name="FUSProjectUsageTrigger">
29
+    <session id="-1157087370">
30
+      <usages-collector id="statistics.lifecycle.project">
31
+        <counts>
32
+          <entry key="project.closed" value="7" />
33
+          <entry key="project.open.time.1" value="1" />
34
+          <entry key="project.open.time.18" value="1" />
35
+          <entry key="project.open.time.2" value="1" />
36
+          <entry key="project.open.time.4" value="2" />
37
+          <entry key="project.open.time.8" value="2" />
38
+          <entry key="project.open.time.9" value="1" />
39
+          <entry key="project.opened" value="8" />
40
+        </counts>
41
+      </usages-collector>
42
+      <usages-collector id="statistics.file.extensions.open">
43
+        <counts>
44
+          <entry key="class" value="3" />
45
+          <entry key="iml" value="1" />
46
+          <entry key="java" value="12" />
47
+          <entry key="md" value="6" />
48
+        </counts>
49
+      </usages-collector>
50
+      <usages-collector id="statistics.file.types.open">
51
+        <counts>
52
+          <entry key="CLASS" value="3" />
53
+          <entry key="IDEA_MODULE" value="1" />
54
+          <entry key="JAVA" value="12" />
55
+          <entry key="Markdown" value="6" />
56
+        </counts>
57
+      </usages-collector>
58
+      <usages-collector id="statistics.file.extensions.edit">
59
+        <counts>
60
+          <entry key="java" value="10455" />
61
+        </counts>
62
+      </usages-collector>
63
+      <usages-collector id="statistics.file.types.edit">
64
+        <counts>
65
+          <entry key="JAVA" value="10455" />
66
+        </counts>
67
+      </usages-collector>
68
+    </session>
69
+  </component>
70
+  <component name="FavoritesManager">
71
+    <favorites_list name="ArraysGoneWild" />
72
+  </component>
16 73
   <component name="FileEditorManager">
17
-    <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">
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 />
74
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
75
+      <file pinned="false" current-in-tab="false">
76
+        <entry file="file://$PROJECT_DIR$/README.md">
77
+          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
78
+            <state split_layout="SECOND">
79
+              <first_editor relative-caret-position="270">
80
+                <caret line="18" selection-start-line="18" selection-end-line="18" />
81
+              </first_editor>
82
+              <second_editor />
24 83
             </state>
25 84
           </provider>
26 85
         </entry>
27 86
       </file>
28
-      <file leaf-file-name="Arraz.java" pinned="false" current-in-tab="false">
87
+      <file pinned="false" current-in-tab="false">
29 88
         <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
30 89
           <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 />
90
+            <state relative-caret-position="596">
91
+              <caret line="467" lean-forward="true" selection-start-line="467" selection-end-line="467" />
34 92
             </state>
35 93
           </provider>
36 94
         </entry>
37 95
       </file>
38
-      <file leaf-file-name="ArrazTest.java" pinned="false" current-in-tab="false">
96
+      <file pinned="false" current-in-tab="true">
39 97
         <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
40 98
           <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 />
99
+            <state relative-caret-position="10020">
100
+              <caret line="668" column="4" selection-start-line="668" selection-start-column="4" selection-end-line="668" selection-end-column="4" />
101
+              <folding>
102
+                <element signature="imports" expanded="true" />
103
+              </folding>
57 104
             </state>
58 105
           </provider>
59 106
         </entry>
@@ -63,8 +110,8 @@
63 110
   <component name="FileTemplateManagerImpl">
64 111
     <option name="RECENT_TEMPLATES">
65 112
       <list>
66
-        <option value="Class" />
67 113
         <option value="JUnit4 Test Class" />
114
+        <option value="Class" />
68 115
       </list>
69 116
     </option>
70 117
   </component>
@@ -72,9 +119,6 @@
72 119
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
73 120
   </component>
74 121
   <component name="GradleLocalSettings">
75
-    <option name="externalProjectsViewState">
76
-      <projects_view />
77
-    </option>
78 122
     <option name="projectSyncType">
79 123
       <map>
80 124
         <entry key="$USER_HOME$/GitHub/gs-gradle/initial" value="PREVIEW" />
@@ -84,8 +128,13 @@
84 128
   <component name="IdeDocumentHistory">
85 129
     <option name="CHANGED_PATHS">
86 130
       <list>
87
-        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
88 131
         <option value="$PROJECT_DIR$/README.md" />
132
+        <option value="$PROJECT_DIR$/arraz/src/main/java/OddEven.java" />
133
+        <option value="$PROJECT_DIR$/arraz/src/main/java/MaxMin/MaxMin.java" />
134
+        <option value="$PROJECT_DIR$/arraz/src/test/java/CollectionTest.java" />
135
+        <option value="$PROJECT_DIR$/arraz/src/main/java/Collectionexample.java" />
136
+        <option value="$PROJECT_DIR$/arraz/src/main/java/Arraz.java" />
137
+        <option value="$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java" />
89 138
       </list>
90 139
     </option>
91 140
   </component>
@@ -102,27 +151,17 @@
102 151
       </MavenImportingSettings>
103 152
     </option>
104 153
   </component>
105
-  <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" />
154
+  <component name="ProjectFrameBounds" fullScreen="true">
155
+    <option name="y" value="23" />
156
+    <option name="width" value="1440" />
157
+    <option name="height" value="821" />
110 158
   </component>
111 159
   <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 />
160
+    <navigator proportions="" version="1">
123 161
       <foldersAlwaysOnTop value="true" />
124 162
     </navigator>
125 163
     <panes>
164
+      <pane id="PackagesPane" />
126 165
       <pane id="ProjectPane">
127 166
         <subPane>
128 167
           <expand>
@@ -151,35 +190,63 @@
151 190
             <path>
152 191
               <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
153 192
               <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
193
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
194
+              <item name="src" type="462c0819:PsiDirectoryNode" />
195
+              <item name="main" type="462c0819:PsiDirectoryNode" />
196
+              <item name="java" type="462c0819:PsiDirectoryNode" />
197
+            </path>
198
+            <path>
199
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
200
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
201
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
202
+              <item name="src" type="462c0819:PsiDirectoryNode" />
203
+              <item name="test" type="462c0819:PsiDirectoryNode" />
204
+            </path>
205
+            <path>
206
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
207
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
208
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
209
+              <item name="src" type="462c0819:PsiDirectoryNode" />
210
+              <item name="test" type="462c0819:PsiDirectoryNode" />
211
+              <item name="java" type="462c0819:PsiDirectoryNode" />
212
+            </path>
213
+            <path>
214
+              <item name="ArraysGoneWild" type="b2602c69:ProjectViewProjectNode" />
215
+              <item name="ArraysGoneWild" type="462c0819:PsiDirectoryNode" />
154 216
               <item name="DocumentationOnArrays" type="462c0819:PsiDirectoryNode" />
155 217
             </path>
156 218
           </expand>
157 219
           <select />
158 220
         </subPane>
159 221
       </pane>
160
-      <pane id="Scratches" />
161
-      <pane id="PackagesPane" />
162
-      <pane id="AndroidView" />
163 222
       <pane id="Scope" />
164 223
     </panes>
165 224
   </component>
166 225
   <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" />
226
+    <property name="GO_FMT" value="false" />
169 227
     <property name="WebServerToolWindowFactoryState" value="false" />
170 228
     <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" />
229
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1544418448048" />
173 230
     <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
174
-    <property name="GO_FMT" value="false" />
231
+    <property name="jdk.selected.JAVA_MODULE" value="1.8" />
232
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
233
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
234
+    <property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
175 235
   </component>
176 236
   <component name="RecentsManager">
177 237
     <key name="CreateTestDialog.RecentsKey">
178 238
       <recent name="" />
179 239
     </key>
240
+    <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
241
+      <recent name="" />
242
+    </key>
180 243
     <key name="CreateTestDialog.Recents.Supers">
181 244
       <recent name="" />
182 245
     </key>
246
+    <key name="CreateClassDialog.RecentsKey">
247
+      <recent name="MaxMin" />
248
+      <recent name="" />
249
+    </key>
183 250
   </component>
184 251
   <component name="RunDashboard">
185 252
     <option name="ruleStates">
@@ -193,90 +260,111 @@
193 260
       </list>
194 261
     </option>
195 262
   </component>
196
-  <component name="RunManager">
263
+  <component name="RunManager" selected="JUnit.ArrazTest">
197 264
     <configuration default="true" type="Applet" factoryName="Applet">
198
-      <option name="WIDTH" value="400" />
199
-      <option name="HEIGHT" value="300" />
200 265
       <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
201
-      <module />
266
+      <method v="2">
267
+        <option name="Make" enabled="true" />
268
+      </method>
202 269
     </configuration>
203 270
     <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 271
       <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 />
272
+      <method v="2">
273
+        <option name="Make" enabled="true" />
274
+      </method>
216 275
     </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" />
276
+    <configuration name="ArrazTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
277
+      <module name="arraz" />
278
+      <option name="PACKAGE_NAME" value="" />
279
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
280
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
281
+      <method v="2">
282
+        <option name="Make" enabled="true" />
283
+      </method>
284
+    </configuration>
285
+    <configuration name="ArrazTest.test1insertAtStartAndCopy" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
286
+      <module name="arraz" />
287
+      <option name="PACKAGE_NAME" value="" />
288
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
289
+      <option name="METHOD_NAME" value="test1insertAtStartAndCopy" />
290
+      <option name="TEST_OBJECT" value="method" />
291
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
292
+      <method v="2">
293
+        <option name="Make" enabled="true" />
294
+      </method>
295
+    </configuration>
296
+    <configuration name="ArrazTest.test1sortArrayIntoEvensThenOdds" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
297
+      <module name="arraz" />
298
+      <option name="PACKAGE_NAME" value="" />
299
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
300
+      <option name="METHOD_NAME" value="test1sortArrayIntoEvensThenOdds" />
301
+      <option name="TEST_OBJECT" value="method" />
302
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
303
+      <method v="2">
304
+        <option name="Make" enabled="true" />
305
+      </method>
306
+    </configuration>
307
+    <configuration name="ArrazTest.test2insertAtStartAndCopy" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
308
+      <module name="arraz" />
309
+      <option name="PACKAGE_NAME" value="" />
310
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
311
+      <option name="METHOD_NAME" value="test2insertAtStartAndCopy" />
312
+      <option name="TEST_OBJECT" value="method" />
228 313
       <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 />
314
+      <method v="2">
315
+        <option name="Make" enabled="true" />
316
+      </method>
236 317
     </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" />
318
+    <configuration name="ArrazTest.test2sortArrayIntoEvensThenOdds" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
319
+      <module name="arraz" />
320
+      <option name="PACKAGE_NAME" value="" />
321
+      <option name="MAIN_CLASS_NAME" value="ArrazTest" />
322
+      <option name="METHOD_NAME" value="test2sortArrayIntoEvensThenOdds" />
323
+      <option name="TEST_OBJECT" value="method" />
324
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
325
+      <method v="2">
326
+        <option name="Make" enabled="true" />
327
+      </method>
328
+    </configuration>
329
+    <configuration default="true" type="JUnit" factoryName="JUnit">
330
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
331
+      <method v="2">
332
+        <option name="Make" enabled="true" />
333
+      </method>
243 334
     </configuration>
244 335
     <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 336
       <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 337
       <properties />
269 338
       <listeners />
339
+      <method v="2">
340
+        <option name="Make" enabled="true" />
341
+      </method>
270 342
     </configuration>
271 343
     <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
272 344
       <module name="" />
273 345
       <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
274 346
       <option name="PROGRAM_PARAMETERS" />
275 347
       <predefined_log_file id="idea.log" enabled="true" />
348
+      <method v="2">
349
+        <option name="Make" enabled="true" />
350
+      </method>
276 351
     </configuration>
277
-  </component>
278
-  <component name="ShelveChangesManager" show_recycled="false">
279
-    <option name="remove_strategy" value="false" />
352
+    <list>
353
+      <item itemvalue="JUnit.ArrazTest.test1insertAtStartAndCopy" />
354
+      <item itemvalue="JUnit.ArrazTest.test2insertAtStartAndCopy" />
355
+      <item itemvalue="JUnit.ArrazTest.test1sortArrayIntoEvensThenOdds" />
356
+      <item itemvalue="JUnit.ArrazTest.test2sortArrayIntoEvensThenOdds" />
357
+      <item itemvalue="JUnit.ArrazTest" />
358
+    </list>
359
+    <recent_temporary>
360
+      <list>
361
+        <item itemvalue="JUnit.ArrazTest" />
362
+        <item itemvalue="JUnit.ArrazTest.test2sortArrayIntoEvensThenOdds" />
363
+        <item itemvalue="JUnit.ArrazTest.test1sortArrayIntoEvensThenOdds" />
364
+        <item itemvalue="JUnit.ArrazTest.test2insertAtStartAndCopy" />
365
+        <item itemvalue="JUnit.ArrazTest.test1insertAtStartAndCopy" />
366
+      </list>
367
+    </recent_temporary>
280 368
   </component>
281 369
   <component name="SvnConfiguration">
282 370
     <configuration />
@@ -291,6 +379,14 @@
291 379
       <workItem from="1543955862749" duration="2347000" />
292 380
       <workItem from="1543958998826" duration="113000" />
293 381
       <workItem from="1544020724645" duration="762000" />
382
+      <workItem from="1544153558008" duration="5412000" />
383
+      <workItem from="1544191305486" duration="9321000" />
384
+      <workItem from="1544211708125" duration="867000" />
385
+      <workItem from="1544213091411" duration="932000" />
386
+      <workItem from="1544214164027" duration="5076000" />
387
+      <workItem from="1544228459142" duration="10712000" />
388
+      <workItem from="1544372346662" duration="17503000" />
389
+      <workItem from="1544411811400" duration="6517000" />
294 390
     </task>
295 391
     <task id="LOCAL-00001" summary="readme and docs">
296 392
       <created>1544021313039</created>
@@ -302,40 +398,108 @@
302 398
     <option name="localTasksCounter" value="2" />
303 399
     <servers />
304 400
   </component>
401
+  <component name="TestHistory">
402
+    <history-entry file="ArrazTest_test1sortArrayIntoEvensThenOdds - 2018.12.09 at 23h 45m 55s.xml">
403
+      <configuration name="ArrazTest.test1sortArrayIntoEvensThenOdds" configurationId="JUnit" />
404
+    </history-entry>
405
+    <history-entry file="ArrazTest_test1sortArrayIntoEvensThenOdds - 2018.12.09 at 23h 51m 53s.xml">
406
+      <configuration name="ArrazTest.test1sortArrayIntoEvensThenOdds" configurationId="JUnit" />
407
+    </history-entry>
408
+    <history-entry file="ArrazTest_test1sortArrayIntoEvensThenOdds - 2018.12.09 at 23h 52m 39s.xml">
409
+      <configuration name="ArrazTest.test1sortArrayIntoEvensThenOdds" configurationId="JUnit" />
410
+    </history-entry>
411
+    <history-entry file="ArrazTest_test2sortArrayIntoEvensThenOdds - 2018.12.09 at 23h 52m 43s.xml">
412
+      <configuration name="ArrazTest.test2sortArrayIntoEvensThenOdds" configurationId="JUnit" />
413
+    </history-entry>
414
+    <history-entry file="ArrazTest_test1sortArrayIntoEvensThenOdds - 2018.12.09 at 23h 58m 03s.xml">
415
+      <configuration name="ArrazTest.test1sortArrayIntoEvensThenOdds" configurationId="JUnit" />
416
+    </history-entry>
417
+    <history-entry file="ArrazTest_test1sortArrayIntoEvensThenOdds - 2018.12.09 at 23h 58m 30s.xml">
418
+      <configuration name="ArrazTest.test1sortArrayIntoEvensThenOdds" configurationId="JUnit" />
419
+    </history-entry>
420
+    <history-entry file="ArrazTest_test1sortArrayIntoEvensThenOdds - 2018.12.10 at 00h 06m 49s.xml">
421
+      <configuration name="ArrazTest.test1sortArrayIntoEvensThenOdds" configurationId="JUnit" />
422
+    </history-entry>
423
+    <history-entry file="ArrazTest_test2sortArrayIntoEvensThenOdds - 2018.12.10 at 00h 06m 53s.xml">
424
+      <configuration name="ArrazTest.test2sortArrayIntoEvensThenOdds" configurationId="JUnit" />
425
+    </history-entry>
426
+    <history-entry file="ArrazTest_test2sortArrayIntoEvensThenOdds - 2018.12.10 at 00h 07m 21s.xml">
427
+      <configuration name="ArrazTest.test2sortArrayIntoEvensThenOdds" configurationId="JUnit" />
428
+    </history-entry>
429
+    <history-entry file="ArrazTest - 2018.12.10 at 00h 07m 29s.xml">
430
+      <configuration name="ArrazTest" configurationId="JUnit" />
431
+    </history-entry>
432
+  </component>
305 433
   <component name="TimeTrackingManager">
306
-    <option name="totallyTimeSpent" value="3222000" />
434
+    <option name="totallyTimeSpent" value="59562000" />
307 435
   </component>
308 436
   <component name="ToolWindowManager">
309
-    <frame x="242" y="45" width="1538" height="962" extended-state="0" />
437
+    <frame x="0" y="0" width="1440" height="900" extended-state="0" />
310 438
     <editor active="true" />
311 439
     <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" />
440
+      <window_info content_ui="combo" id="Project" order="0" sideWeight="0.49759036" visible="true" weight="0.1881259" />
441
+      <window_info id="Structure" order="1" weight="0.25" />
442
+      <window_info id="Image Layers" order="2" />
443
+      <window_info id="Designer" order="3" />
444
+      <window_info id="UI Designer" order="4" />
445
+      <window_info id="Capture Tool" order="5" />
446
+      <window_info id="Favorites" order="6" sideWeight="0.50240964" side_tool="true" weight="0.18597998" />
447
+      <window_info anchor="bottom" id="Message" order="0" />
448
+      <window_info anchor="bottom" id="Find" order="1" />
449
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32891566" />
450
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.3987952" />
451
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
452
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
453
+      <window_info anchor="bottom" id="TODO" order="6" />
454
+      <window_info anchor="bottom" id="Terminal" order="7" />
455
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
456
+      <window_info anchor="bottom" id="Version Control" order="9" />
457
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
458
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.32891566" />
459
+      <window_info anchor="right" id="Coverage" side_tool="true" weight="0.3297568" />
460
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
461
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
462
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
463
+      <window_info anchor="right" id="Palette" order="3" />
464
+      <window_info anchor="right" id="Capture Analysis" order="4" />
465
+      <window_info anchor="right" id="Theme Preview" order="5" />
466
+      <window_info anchor="right" id="Database" order="6" />
467
+      <window_info anchor="right" id="Palette&#9;" order="7" />
468
+      <window_info anchor="right" id="Maven Projects" order="8" />
469
+      <window_info anchor="right" id="SciView" order="9" />
470
+      <window_info anchor="right" x="0" y="0" width="310" height="621" id="Documentation" order="10" side_tool="true" weight="0.3297568" />
338 471
     </layout>
472
+    <layout-to-restore>
473
+      <window_info content_ui="combo" id="Project" order="0" sideWeight="0.49931413" visible="true" weight="0.14806867" />
474
+      <window_info id="Structure" order="1" weight="0.25" />
475
+      <window_info id="Image Layers" order="2" />
476
+      <window_info id="Designer" order="3" />
477
+      <window_info id="UI Designer" order="4" />
478
+      <window_info id="Capture Tool" order="5" />
479
+      <window_info id="Favorites" order="6" sideWeight="0.5006859" side_tool="true" weight="0.26108727" />
480
+      <window_info anchor="bottom" id="Message" order="0" />
481
+      <window_info anchor="bottom" id="Find" order="1" />
482
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32921812" />
483
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.39917696" />
484
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
485
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
486
+      <window_info anchor="bottom" id="TODO" order="6" />
487
+      <window_info anchor="bottom" id="Terminal" order="7" />
488
+      <window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
489
+      <window_info anchor="bottom" id="Version Control" order="9" />
490
+      <window_info anchor="bottom" id="Database Changes" order="10" show_stripe_button="false" />
491
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.32921812" />
492
+      <window_info anchor="right" id="Commander" order="0" weight="0.4" />
493
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
494
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
495
+      <window_info anchor="right" id="Palette" order="3" />
496
+      <window_info anchor="right" id="Capture Analysis" order="4" />
497
+      <window_info anchor="right" id="Theme Preview" order="5" />
498
+      <window_info anchor="right" id="Database" order="6" />
499
+      <window_info anchor="right" id="Palette&#9;" order="7" />
500
+      <window_info anchor="right" id="Maven Projects" order="8" />
501
+      <window_info anchor="right" id="SciView" order="9" />
502
+    </layout-to-restore>
339 503
   </component>
340 504
   <component name="TypeScriptGeneratedFilesManager">
341 505
     <option name="version" value="1" />
@@ -347,113 +511,60 @@
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 515
     <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>
516
+      <provider selected="true" editor-type-id="text-editor" />
362 517
     </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>
518
+    <entry file="file://$PROJECT_DIR$/arraz/arraz.iml">
519
+      <provider selected="true" editor-type-id="text-editor" />
370 520
     </entry>
371
-    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
521
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/OddEven.java">
372 522
       <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
-    <entry file="file://$PROJECT_DIR$/README.md">
380
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
381
-        <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 />
385
-          </first_editor>
386
-          <second_editor />
523
+        <state relative-caret-position="225">
524
+          <caret line="16" column="21" selection-start-line="16" selection-start-column="21" selection-end-line="16" selection-end-column="21" />
387 525
         </state>
388 526
       </provider>
389 527
     </entry>
390
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
528
+    <entry file="file://$PROJECT_DIR$/arraz/src/test/java/CollectionTest.java" />
529
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Collectionexample.java" />
530
+    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/MaxMin.java">
391 531
       <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 />
532
+        <state>
533
+          <caret column="13" selection-start-column="13" selection-end-column="13" />
395 534
         </state>
396 535
       </provider>
397 536
     </entry>
398
-    <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
537
+    <entry file="jar://$MAVEN_REPOSITORY$/junit/junit/4.0/junit-4.0.jar!/org/junit/Assert.class">
399 538
       <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">
407
-      <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 />
539
+        <state relative-caret-position="518">
540
+          <caret line="60" selection-start-line="60" selection-end-line="60" />
411 541
         </state>
412 542
       </provider>
413 543
     </entry>
414 544
     <entry file="file://$PROJECT_DIR$/README.md">
415 545
       <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 />
546
+        <state split_layout="SECOND">
547
+          <first_editor relative-caret-position="270">
548
+            <caret line="18" selection-start-line="18" selection-end-line="18" />
420 549
           </first_editor>
421 550
           <second_editor />
422 551
         </state>
423 552
       </provider>
424 553
     </entry>
425
-    <entry file="file://$PROJECT_DIR$/arraz/pom.xml">
426
-      <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 />
430
-        </state>
431
-      </provider>
432
-    </entry>
433 554
     <entry file="file://$PROJECT_DIR$/arraz/src/main/java/Arraz.java">
434 555
       <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 />
556
+        <state relative-caret-position="596">
557
+          <caret line="467" lean-forward="true" selection-start-line="467" selection-end-line="467" />
438 558
         </state>
439 559
       </provider>
440 560
     </entry>
441 561
     <entry file="file://$PROJECT_DIR$/arraz/src/test/java/ArrazTest.java">
442 562
       <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 />
563
+        <state relative-caret-position="10020">
564
+          <caret line="668" column="4" selection-start-line="668" selection-start-column="4" selection-end-line="668" selection-end-column="4" />
565
+          <folding>
566
+            <element signature="imports" expanded="true" />
567
+          </folding>
457 568
         </state>
458 569
       </provider>
459 570
     </entry>

+ 13
- 0
arraz/.idea/compiler.xml Wyświetl plik

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

+ 14
- 0
arraz/.idea/misc.xml Wyświetl plik

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

+ 6
- 0
arraz/.idea/vcs.xml Wyświetl plik

@@ -0,0 +1,6 @@
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>

+ 299
- 0
arraz/.idea/workspace.xml Wyświetl plik

@@ -0,0 +1,299 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="2f050b8c-aa8e-49d7-95bf-21bb02f49518" 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="1651867385">
16
+      <usages-collector id="statistics.lifecycle.project">
17
+        <counts>
18
+          <entry key="project.closed" value="1" />
19
+          <entry key="project.open.time.4" value="1" />
20
+          <entry key="project.opened" value="1" />
21
+        </counts>
22
+      </usages-collector>
23
+      <usages-collector id="statistics.file.extensions.open">
24
+        <counts>
25
+          <entry key="java" value="2" />
26
+        </counts>
27
+      </usages-collector>
28
+      <usages-collector id="statistics.file.types.open">
29
+        <counts>
30
+          <entry key="JAVA" value="2" />
31
+        </counts>
32
+      </usages-collector>
33
+    </session>
34
+  </component>
35
+  <component name="FileEditorManager">
36
+    <leaf>
37
+      <file pinned="false" current-in-tab="false">
38
+        <entry file="file://$PROJECT_DIR$/src/test/java/ArrazTest.java">
39
+          <provider selected="true" editor-type-id="text-editor">
40
+            <state relative-caret-position="30">
41
+              <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
42
+            </state>
43
+          </provider>
44
+        </entry>
45
+      </file>
46
+      <file pinned="false" current-in-tab="true">
47
+        <entry file="file://$PROJECT_DIR$/src/main/java/Arraz.java">
48
+          <provider selected="true" editor-type-id="text-editor">
49
+            <state>
50
+              <caret column="13" selection-start-column="13" selection-end-column="13" />
51
+            </state>
52
+          </provider>
53
+        </entry>
54
+      </file>
55
+    </leaf>
56
+  </component>
57
+  <component name="Git.Settings">
58
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
59
+  </component>
60
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
61
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
62
+  <component name="JsGulpfileManager">
63
+    <detection-done>true</detection-done>
64
+    <sorting>DEFINITION_ORDER</sorting>
65
+  </component>
66
+  <component name="ProjectFrameBounds">
67
+    <option name="y" value="23" />
68
+    <option name="width" value="1440" />
69
+    <option name="height" value="821" />
70
+  </component>
71
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
72
+  <component name="ProjectView">
73
+    <navigator proportions="" version="1">
74
+      <foldersAlwaysOnTop value="true" />
75
+    </navigator>
76
+    <panes>
77
+      <pane id="Scope" />
78
+      <pane id="PackagesPane" />
79
+      <pane id="ProjectPane">
80
+        <subPane>
81
+          <expand>
82
+            <path>
83
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
84
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
85
+            </path>
86
+            <path>
87
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
88
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
89
+              <item name=".idea" type="462c0819:PsiDirectoryNode" />
90
+            </path>
91
+            <path>
92
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
93
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
94
+              <item name="src" type="462c0819:PsiDirectoryNode" />
95
+            </path>
96
+            <path>
97
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
98
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
99
+              <item name="src" type="462c0819:PsiDirectoryNode" />
100
+              <item name="main" type="462c0819:PsiDirectoryNode" />
101
+            </path>
102
+            <path>
103
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
104
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
105
+              <item name="src" type="462c0819:PsiDirectoryNode" />
106
+              <item name="main" type="462c0819:PsiDirectoryNode" />
107
+              <item name="java" type="462c0819:PsiDirectoryNode" />
108
+            </path>
109
+            <path>
110
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
111
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
112
+              <item name="src" type="462c0819:PsiDirectoryNode" />
113
+              <item name="test" type="462c0819:PsiDirectoryNode" />
114
+            </path>
115
+            <path>
116
+              <item name="arraz" type="b2602c69:ProjectViewProjectNode" />
117
+              <item name="arraz" type="462c0819:PsiDirectoryNode" />
118
+              <item name="src" type="462c0819:PsiDirectoryNode" />
119
+              <item name="test" type="462c0819:PsiDirectoryNode" />
120
+              <item name="java" type="462c0819:PsiDirectoryNode" />
121
+            </path>
122
+          </expand>
123
+          <select />
124
+        </subPane>
125
+      </pane>
126
+    </panes>
127
+  </component>
128
+  <component name="PropertiesComponent">
129
+    <property name="WebServerToolWindowFactoryState" value="false" />
130
+    <property name="aspect.path.notification.shown" value="true" />
131
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
132
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
133
+    <property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
134
+  </component>
135
+  <component name="RunDashboard">
136
+    <option name="ruleStates">
137
+      <list>
138
+        <RuleState>
139
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
140
+        </RuleState>
141
+        <RuleState>
142
+          <option name="name" value="StatusDashboardGroupingRule" />
143
+        </RuleState>
144
+      </list>
145
+    </option>
146
+  </component>
147
+  <component name="RunManager">
148
+    <configuration default="true" type="tests" factoryName="Nosetests">
149
+      <option name="INTERPRETER_OPTIONS" value="" />
150
+      <option name="PARENT_ENVS" value="true" />
151
+      <option name="SDK_HOME" value="" />
152
+      <option name="WORKING_DIRECTORY" value="" />
153
+      <option name="IS_MODULE_SDK" value="false" />
154
+      <option name="ADD_CONTENT_ROOTS" value="true" />
155
+      <option name="ADD_SOURCE_ROOTS" value="true" />
156
+      <module name="" />
157
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
158
+      <option name="_new_regexPattern" value="&quot;&quot;" />
159
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
160
+      <option name="_new_target" value="&quot;&quot;" />
161
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
162
+      <method v="2" />
163
+    </configuration>
164
+    <configuration default="true" type="tests" factoryName="Twisted Trial">
165
+      <option name="INTERPRETER_OPTIONS" value="" />
166
+      <option name="PARENT_ENVS" value="true" />
167
+      <option name="SDK_HOME" value="" />
168
+      <option name="WORKING_DIRECTORY" value="" />
169
+      <option name="IS_MODULE_SDK" value="false" />
170
+      <option name="ADD_CONTENT_ROOTS" value="true" />
171
+      <option name="ADD_SOURCE_ROOTS" value="true" />
172
+      <module name="" />
173
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
174
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
175
+      <option name="_new_target" value="&quot;&quot;" />
176
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
177
+      <method v="2" />
178
+    </configuration>
179
+    <configuration default="true" type="tests" factoryName="Unittests">
180
+      <option name="INTERPRETER_OPTIONS" value="" />
181
+      <option name="PARENT_ENVS" value="true" />
182
+      <option name="SDK_HOME" value="" />
183
+      <option name="WORKING_DIRECTORY" value="" />
184
+      <option name="IS_MODULE_SDK" value="false" />
185
+      <option name="ADD_CONTENT_ROOTS" value="true" />
186
+      <option name="ADD_SOURCE_ROOTS" value="true" />
187
+      <module name="" />
188
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
189
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
190
+      <option name="_new_target" value="&quot;&quot;" />
191
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
192
+      <method v="2" />
193
+    </configuration>
194
+    <configuration default="true" type="tests" factoryName="py.test">
195
+      <option name="INTERPRETER_OPTIONS" value="" />
196
+      <option name="PARENT_ENVS" value="true" />
197
+      <option name="SDK_HOME" value="" />
198
+      <option name="WORKING_DIRECTORY" value="" />
199
+      <option name="IS_MODULE_SDK" value="false" />
200
+      <option name="ADD_CONTENT_ROOTS" value="true" />
201
+      <option name="ADD_SOURCE_ROOTS" value="true" />
202
+      <module name="" />
203
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
204
+      <option name="_new_keywords" value="&quot;&quot;" />
205
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
206
+      <option name="_new_target" value="&quot;&quot;" />
207
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
208
+      <method v="2" />
209
+    </configuration>
210
+  </component>
211
+  <component name="SvnConfiguration">
212
+    <configuration />
213
+  </component>
214
+  <component name="TaskManager">
215
+    <task active="true" id="Default" summary="Default task">
216
+      <changelist id="2f050b8c-aa8e-49d7-95bf-21bb02f49518" name="Default Changelist" comment="" />
217
+      <created>1544153490716</created>
218
+      <option name="number" value="Default" />
219
+      <option name="presentableId" value="Default" />
220
+      <updated>1544153490716</updated>
221
+      <workItem from="1544153493711" duration="45000" />
222
+    </task>
223
+    <servers />
224
+  </component>
225
+  <component name="TimeTrackingManager">
226
+    <option name="totallyTimeSpent" value="45000" />
227
+  </component>
228
+  <component name="ToolWindowManager">
229
+    <frame x="0" y="23" width="1440" height="821" extended-state="0" />
230
+    <layout>
231
+      <window_info id="Image Layers" />
232
+      <window_info id="Designer" />
233
+      <window_info id="UI Designer" />
234
+      <window_info id="Capture Tool" />
235
+      <window_info id="Favorites" side_tool="true" />
236
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24964234" />
237
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
238
+      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
239
+      <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
240
+      <window_info anchor="bottom" id="Terminal" />
241
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
242
+      <window_info anchor="bottom" id="Message" order="0" />
243
+      <window_info anchor="bottom" id="Find" order="1" />
244
+      <window_info anchor="bottom" id="Run" order="2" />
245
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
246
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
247
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
248
+      <window_info anchor="bottom" id="TODO" order="6" />
249
+      <window_info anchor="right" id="Palette" />
250
+      <window_info anchor="right" id="Theme Preview" />
251
+      <window_info anchor="right" id="Capture Analysis" />
252
+      <window_info anchor="right" id="Palette&#9;" />
253
+      <window_info anchor="right" id="SciView" />
254
+      <window_info anchor="right" id="Database" />
255
+      <window_info anchor="right" id="Maven Projects" />
256
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
257
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
258
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
259
+    </layout>
260
+  </component>
261
+  <component name="TypeScriptGeneratedFilesManager">
262
+    <option name="version" value="1" />
263
+  </component>
264
+  <component name="VcsContentAnnotationSettings">
265
+    <option name="myLimit" value="2678400000" />
266
+  </component>
267
+  <component name="editorHistoryManager">
268
+    <entry file="file://$PROJECT_DIR$/src/test/java/ArrazTest.java">
269
+      <provider selected="true" editor-type-id="text-editor">
270
+        <state relative-caret-position="30">
271
+          <caret line="2" column="13" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
272
+        </state>
273
+      </provider>
274
+    </entry>
275
+    <entry file="file://$PROJECT_DIR$/src/main/java/Arraz.java">
276
+      <provider selected="true" editor-type-id="text-editor">
277
+        <state>
278
+          <caret column="13" selection-start-column="13" selection-end-column="13" />
279
+        </state>
280
+      </provider>
281
+    </entry>
282
+  </component>
283
+  <component name="masterDetails">
284
+    <states>
285
+      <state key="ProjectJDKs.UI">
286
+        <settings>
287
+          <last-edited>1.8</last-edited>
288
+          <splitter-proportions>
289
+            <option name="proportions">
290
+              <list>
291
+                <option value="0.2" />
292
+              </list>
293
+            </option>
294
+          </splitter-proportions>
295
+        </settings>
296
+      </state>
297
+    </states>
298
+  </component>
299
+</project>

+ 2
- 3
arraz/arraz.iml Wyświetl plik

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

+ 12
- 0
arraz/pom.xml Wyświetl plik

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

+ 500
- 0
arraz/src/main/java/Arraz.java Wyświetl plik

@@ -1,2 +1,502 @@
1
+import java.util.*;
2
+
1 3
 public class Arraz {
4
+
5
+
6
+    public  int sumValuesOfArray(int[] inputArray) {
7
+
8
+        int sum=0;
9
+        for(int i=0;i<= inputArray.length-1;i++){
10
+            sum= sum+ inputArray[i];
11
+        }
12
+            return sum;
13
+    }
14
+
15
+
16
+    public  double sumDoublesOfArray(double[] inputArray) {
17
+
18
+        double sum=0;
19
+        for(int i=0;i<= inputArray.length-1;i++){
20
+            sum= (sum+ inputArray[i]);
21
+        }
22
+        return sum;
23
+    }
24
+
25
+
26
+    public  int averageOfArray(int[] inputArray) {
27
+
28
+        int sum=0;
29
+        for(int i=0;i<= inputArray.length-1;i++){
30
+            sum= sum+ inputArray[i];
31
+        }
32
+        return sum/2;
33
+    }
34
+
35
+
36
+    public  double doubleAverageOfArray(double[] inputArray) {
37
+
38
+        double sum=0;
39
+        for(int i=0;i<= inputArray.length-1;i++){
40
+            sum= (sum+ inputArray[i]);
41
+        }
42
+        return sum/2;
43
+    }
44
+
45
+    public  boolean contains(int[] inputArray,int containsValue ){
46
+        for(int i=0;i<=inputArray.length-1;i++){
47
+            if(inputArray[i]==containsValue){
48
+                return true;
49
+            }
50
+
51
+        }
52
+         return false;
53
+    }
54
+
55
+
56
+    public  Integer[] reverseArray(Integer[] intArray) {
57
+        Integer[] result = new Integer[intArray.length];
58
+        int index=0;
59
+        for(int i=intArray.length-1;i>=0;i--){
60
+            result[index] =intArray[i];
61
+            index++;
62
+
63
+        }
64
+        return result;
65
+    }
66
+
67
+
68
+    public  OddEven getOddEvensOfArray(int[] intArray){
69
+        int evenCount=0;
70
+        int oddCount=0;
71
+
72
+        for(int i=0;i<=intArray.length-1;i++){
73
+            if (intArray[i]%2==0){
74
+                evenCount++;
75
+            }
76
+            else {
77
+                oddCount++;
78
+            }
79
+        }
80
+       return new OddEven(oddCount,evenCount);
81
+    }
82
+
83
+    public  int findIndexOf(int[] inputArray, int value){
84
+
85
+        int result =0;
86
+        for(int i=0;i<inputArray.length;i++){
87
+            if(inputArray[i]== value){
88
+                result= i;
89
+            }
90
+
91
+        }
92
+        return result;
93
+    }
94
+
95
+    public  Integer[] copyarrayByLoop(Integer[] inputArray) {
96
+
97
+        Integer[] arr2=new Integer[inputArray.length];
98
+        for(int i=0;i<inputArray.length;i++){
99
+                arr2[i] = inputArray[i];
100
+            System.out.println(arr2[i]);
101
+        }
102
+        return arr2;
103
+    }
104
+
105
+    public  Integer[] copyArrayByInterator(Integer[] inputArray) {
106
+        Integer[] arr2=new Integer[inputArray.length];
107
+        List<Integer> list= new ArrayList<>(Arrays.asList(inputArray));
108
+
109
+        Iterator itr= list.iterator();
110
+        while(itr.hasNext()) {
111
+            itr.next();
112
+            System.out.println(itr.next());
113
+            list.add((Integer) itr.next());
114
+        }
115
+
116
+        return list.toArray(new Integer[0]);
117
+    }
118
+
119
+    public  Integer[] removeElementFromArray(Integer[] inputArray, int element){
120
+
121
+        List<Integer> list= new ArrayList<>();
122
+        for(Integer elem: inputArray){
123
+            if(elem != element){
124
+                list.add(elem);
125
+            }
126
+        }
127
+
128
+        return list.toArray(new Integer[0]);
129
+    }
130
+
131
+
132
+    public  int insertIntoArrayAt(Integer[] inputArray, int index,int value){
133
+
134
+        Integer[] result= new Integer[inputArray.length+1] ;
135
+        for(int i=0;i<inputArray.length;i++) {
136
+
137
+
138
+            if (i < index){
139
+                result[i] = inputArray[i];
140
+            }
141
+           else   if (i == index){
142
+                result[index] = value;
143
+
144
+            }
145
+           else   if (i > index)
146
+            {
147
+                result[i+1] = inputArray[i];
148
+
149
+            }
150
+        }
151
+              return  result[index];
152
+
153
+
154
+        }
155
+
156
+
157
+
158
+
159
+
160
+    public  MaxMin findMaxMinOfArray(int[] inputArray){
161
+
162
+        Arrays.sort(inputArray);
163
+
164
+        int maxNum=0;
165
+        int minNum=0;
166
+        for(int i=0;i <inputArray.length;i++){
167
+           minNum= inputArray[0];
168
+           maxNum=inputArray[inputArray.length-1];
169
+        }
170
+        return new MaxMin(maxNum,minNum);
171
+
172
+    }
173
+
174
+
175
+    public Integer[] sortArray(Integer[] inputArray){
176
+        int temp;
177
+        for(int i=0;i<inputArray.length;i++){
178
+            for(int j=i;j<inputArray.length;j++){
179
+                if(inputArray[i]>inputArray[j]) {
180
+                    temp = inputArray[i];
181
+                    inputArray[i] = inputArray[j];
182
+                    inputArray[j] = temp;
183
+                }
184
+            }
185
+        }
186
+        return inputArray;
187
+    }
188
+
189
+    public Integer[] removeDupesFromArray(Integer[] inputArray) {
190
+        sortArray(inputArray);
191
+
192
+        List<Integer>list= new ArrayList<>();
193
+       // Integer[] newArray= new Integer[0];
194
+            list.add(inputArray[0]);
195
+
196
+
197
+            for (int i = 1; i < inputArray.length; i++) {
198
+                if (inputArray[i] != (inputArray[i - 1])) {
199
+                    // newArray[i]= inputArray[i];
200
+                    list.add(inputArray[i]);
201
+                }
202
+            }
203
+
204
+        return list.toArray(new Integer[0]);
205
+
206
+
207
+    }
208
+
209
+
210
+    public Double find2ndLargestValueFromArray(Double[] inputArray) {
211
+        Double temp;
212
+        for(int i=0;i<inputArray.length;i++){
213
+            for(int j=i;j< inputArray.length;j++){
214
+                if(inputArray[i]>inputArray[j]){
215
+                    temp=inputArray[i];
216
+                    inputArray[i]= inputArray[j];
217
+                    inputArray[j]=temp;
218
+                }
219
+            }
220
+        }
221
+        return inputArray[inputArray.length-2];
222
+
223
+    }
224
+
225
+
226
+    public ArrayList<Integer> makeMeAnArrayListFromArray(Integer[] inputArray){
227
+
228
+            ArrayList<Integer> list= new ArrayList<>();
229
+            for(Integer list1: inputArray){
230
+                list.add(list1);
231
+
232
+            }
233
+
234
+        return list;
235
+    }
236
+
237
+
238
+    public Integer[] makeMeAnArrayFromArrayList(List<Integer> inputList){
239
+        Integer [] arr= new Integer[inputList.size()];
240
+        int index =0;
241
+        for (Integer elem:inputList) {
242
+
243
+            arr[index]=elem;
244
+            index =index+1;
245
+        }
246
+        return arr;
247
+    }
248
+
249
+
250
+    public String arrayToString(Integer[] inputarray){
251
+        String result="";
252
+        for (Integer elem:inputarray) {
253
+            result+= elem.toString();
254
+        }
255
+        return result;
256
+    }
257
+    public boolean check2ArraysForEqual(Integer[] input1, Integer[] input2){
258
+        if(input1.length== input2.length){
259
+
260
+            if(arrayToString(input1).equals(arrayToString(input2))){
261
+                return true;
262
+            }
263
+            else  return false;
264
+        }
265
+        else
266
+            return false;
267
+
268
+    }
269
+
270
+    public int averageArrayWithoutMaxMin(int[] inputArray){
271
+        MaxMin mn=findMaxMinOfArray(inputArray);
272
+        int max=mn.max;
273
+        int min=mn.min;
274
+        int sum=0;
275
+        for(int i=0;i<inputArray.length;i++){
276
+
277
+            if(inputArray[i]==max || inputArray[i]== min){
278
+                sum=sum+0;
279
+            }
280
+            else {
281
+                sum =sum+ inputArray[i];
282
+            }
283
+        }
284
+        return sum/inputArray.length;
285
+    }
286
+
287
+
288
+    public boolean arrayHas65and77(int[] inputArray){
289
+
290
+       boolean result = false;
291
+        for (int i=0;i<inputArray.length;i++) {
292
+            if(contains(inputArray,65) && contains(inputArray,77)) {
293
+                result= true;
294
+            }
295
+            else result =false;
296
+
297
+        }
298
+        return  result;
299
+    }
300
+
301
+    public boolean theTotalofTensIs30(int[] inputArray){
302
+        int sum=0;
303
+        boolean result= false;
304
+        for(Integer elem: inputArray) {
305
+            if (elem == 10) {
306
+                sum = sum + elem;
307
+
308
+            }
309
+        }
310
+                if(sum==30){
311
+                    result= true;
312
+                }
313
+                else result= false;
314
+
315
+
316
+
317
+        return result;
318
+    }
319
+
320
+
321
+    public String smallAndSecondSmall(int[] inputArray){
322
+
323
+        int temp;
324
+        for(int i=0;i<inputArray.length;i++){
325
+            for(int j=i;j< inputArray.length;j++){
326
+                if(inputArray[i]>inputArray[j]){
327
+                    temp=inputArray[i];
328
+                    inputArray[i]= inputArray[j];
329
+                    inputArray[j]=temp;
330
+                }
331
+            }
332
+        }
333
+
334
+
335
+        return "smallest: " + inputArray[0] + " second smallest: " + inputArray[1];
336
+    }
337
+
338
+
339
+
340
+    public Integer[] copyArray(Integer[] inputArray){
341
+        int index=0;
342
+
343
+        Integer[] arr= new Integer[inputArray.length];
344
+        for(Integer elem: inputArray){
345
+            arr[index]=elem;
346
+            index++;
347
+        }
348
+        return arr;
349
+    }
350
+
351
+    public Integer[] makeMeACopyPleaseAndReverse(Integer[] inputArray){
352
+
353
+        int index=0;
354
+
355
+        Integer[] arr= new Integer[inputArray.length];
356
+        for(Integer elem: inputArray){
357
+            arr[index]=elem;
358
+            index++;
359
+        }
360
+        Integer[] result = new Integer[arr.length];
361
+        int index1=0;
362
+        for(int i=arr.length-1;i>=0;i--){
363
+            result[index1] =arr[i];
364
+            index1=index1+1;
365
+
366
+        }
367
+        return result;
368
+
369
+//        copyArray(inputArray);
370
+//        reverseArray(inputArray);
371
+//        return inputArray;
372
+    }
373
+
374
+
375
+
376
+    public Integer[] removeLastItemAndCopy(Integer[] inputArray){
377
+        Integer[] arr= new Integer[inputArray.length-1];
378
+        for(int i=0;i<inputArray.length-1;i++){
379
+            arr[i]= inputArray[i];
380
+        }
381
+
382
+        return arr;
383
+    }
384
+
385
+
386
+    public Integer[] removeFirstItemAndCopy(Integer[] inputArray){
387
+        Integer[] arr= new Integer[(inputArray.length-1)];
388
+        for(int i=0;i<inputArray.length-1;i++){
389
+
390
+           arr[i]= inputArray[i+1];
391
+            System.out.println(arr[i]);
392
+        }
393
+
394
+        return arr;
395
+    }
396
+
397
+
398
+
399
+    public Integer[] insertAtStartAndCopy(Integer[] inputArray, int value){
400
+
401
+        Integer[] arr= new Integer[inputArray.length+1];
402
+        arr[0]= value;
403
+        for(int i=0;i<inputArray.length;i++){
404
+            arr[i+1]=inputArray[i];
405
+
406
+        }
407
+
408
+//        for(int j=0;j<arr.length;j++){
409
+//
410
+//        }
411
+        return arr;
412
+    }
413
+
414
+
415
+    public Integer[] insertAtEndAndCopy(Integer[] inputArray, int value){
416
+
417
+        Integer[] arr= new Integer[inputArray.length+1];
418
+        for(int i=0;i<inputArray.length;i++){
419
+            arr[i]=inputArray[i];
420
+
421
+        }
422
+        arr[arr.length-1]=value;
423
+
424
+        return arr;
425
+    }
426
+
427
+//    public void addElement(Integer[] inputArray, Integer element){
428
+//
429
+//
430
+//        List<Integer> list= new ArrayList<>(inputArray.length);
431
+//        list.add(element);
432
+//        list.toArray();
433
+//    }
434
+
435
+
436
+    public Integer[] sortArrayIntoEvensThenOdds(Integer[] inputArray){
437
+
438
+        List<Integer> evenlist= new ArrayList<>();
439
+        List<Integer> oddList= new ArrayList<>();
440
+        for(Integer elem: inputArray){
441
+            if(elem%2==0){
442
+                evenlist.add(elem);
443
+            }
444
+            else{
445
+                oddList.add(elem);
446
+
447
+            }
448
+        }
449
+        Integer[] even= evenlist.toArray( new Integer[0]);
450
+        Integer[] odd= oddList.toArray( new Integer[0]);
451
+        sortArray(even);
452
+        sortArray(odd);
453
+       // Integer[] resultArray= new Integer[inputArray.length];
454
+        List<Integer> resultList= new ArrayList<>();
455
+
456
+        for (Integer element :even) {
457
+            resultList.add(element);
458
+
459
+        }
460
+        for (Integer element :odd) {
461
+            resultList.add(element);
462
+
463
+        }
464
+
465
+        return resultList.toArray(new Integer[0]);
466
+    }
467
+
468
+
469
+
470
+
471
+
472
+
473
+
474
+    public  String[] findCommanItems(String[]arr1, String[]arr2){
475
+        List<String> result= new ArrayList<>();
476
+        for(int i=0;i<=arr1.length-1;i++){
477
+            for(int j=0;j<=arr2.length-1;j++){
478
+                if(arr1[i].equals(arr2[j])){
479
+                    result.add(arr1[i]);
480
+                }
481
+            }
482
+        }
483
+        return  result.toArray(new String[0]);
484
+    }
485
+
486
+
487
+//    public static String secondLargest(int[] num){
488
+//
489
+//        SortedSet<Integer> set= new SortedSet<Integer>(Arrays.asList(num)) ;
490
+//
491
+////        String result="";
492
+////        Arrays.sort(num);
493
+////
494
+////        for(int i=0;i<num.length;i++){
495
+////            if(num.length-1 <num.length){
496
+////                result= String.valueOf(num.length-1);
497
+////            }
498
+////        }
499
+////        return result;
500
+//
501
+//    }
2 502
 }

+ 36
- 0
arraz/src/main/java/MaxMin.java Wyświetl plik

@@ -0,0 +1,36 @@
1
+public class MaxMin {
2
+
3
+    public int max;
4
+    public int min;
5
+
6
+    public MaxMin(int max, int min) {
7
+        this.max = max;
8
+        this.min = min;
9
+    }
10
+
11
+    public int getMax() {
12
+        return max;
13
+    }
14
+
15
+    public void setMax(int max) {
16
+        this.max = max;
17
+    }
18
+
19
+    public int getMin() {
20
+        return min;
21
+    }
22
+
23
+    public void setMin(int min) {
24
+        this.min = min;
25
+    }
26
+
27
+    @Override
28
+    public boolean equals(Object o) {
29
+        if (this == o) return true;
30
+        if (o == null || getClass() != o.getClass()) return false;
31
+        MaxMin maxMin = (MaxMin) o;
32
+        return max == maxMin.max &&
33
+                min == maxMin.min;
34
+    }
35
+
36
+}

+ 31
- 0
arraz/src/main/java/OddEven.java Wyświetl plik

@@ -0,0 +1,31 @@
1
+import java.util.Objects;
2
+
3
+public class OddEven {
4
+    public int odds;
5
+    public int evens;
6
+
7
+    public OddEven(int odds, int evens) {
8
+        this.odds = odds;
9
+        this.evens = evens;
10
+    }
11
+
12
+    public int getOdds() {
13
+        return odds;
14
+    }
15
+
16
+    public int getEvens() {
17
+        return evens;
18
+    }
19
+
20
+    @Override
21
+    public boolean equals(Object o) {
22
+        if (this == o) return true;
23
+        if (o == null || getClass() != o.getClass()) return false;
24
+        OddEven oddEven = (OddEven) o;
25
+        return odds == oddEven.odds &&
26
+                evens == oddEven.evens;
27
+    }
28
+
29
+
30
+
31
+}

+ 692
- 1
arraz/src/test/java/ArrazTest.java Wyświetl plik

@@ -1,5 +1,696 @@
1
-import static org.junit.Assert.*;
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+import java.util.ArrayList;
5
+import java.util.Arrays;
2 6
 
3 7
 public class ArrazTest {
4 8
 
9
+    Arraz arraz= new Arraz();
10
+
11
+    @Test
12
+    public void test1sumValuesOfArray(){
13
+        //given
14
+        int[] intArray = {4,5,-6,7,-8,4};
15
+        //when
16
+        int expected =6;
17
+        //then
18
+        int actual= arraz.sumValuesOfArray(intArray);
19
+        Assert.assertEquals(expected,actual);
20
+    }
21
+
22
+
23
+    @Test
24
+    public void test2sumValuesOfArray(){
25
+        //given
26
+        int[] intArray = {5,5,-6,7,-8,4};
27
+        //when
28
+        int expected =7;
29
+        //then
30
+        int actual= arraz.sumValuesOfArray(intArray);
31
+        Assert.assertEquals(expected,actual);
32
+    }
33
+
34
+    @Test
35
+    public void test1sumDoublesOfArray(){
36
+        //given
37
+        double[] intArray = {4,5,-6,7,-8,4};
38
+        //when
39
+        double expected =6;
40
+        //then
41
+        double actual= arraz.sumDoublesOfArray(intArray);
42
+        Assert.assertEquals(expected,actual);
43
+    }
44
+
45
+    @Test
46
+    public void test2sumDoublesOfArray(){
47
+        //given
48
+        double[] array = {5,5,-6,7,-8,4};
49
+        //when
50
+        int expected =7;
51
+        //then
52
+        int actual= (int) arraz.sumDoublesOfArray(array);
53
+        Assert.assertEquals(expected,actual);
54
+    }
55
+
56
+    @Test
57
+    public void test1averageOfArray(){
58
+        //given
59
+        int[] array =  {5,5,-6,7,-8,4};
60
+        //when
61
+        int expected =3;
62
+        //then
63
+        int actual=  arraz.averageOfArray(array);
64
+        Assert.assertEquals(expected,actual);
65
+    }
66
+
67
+
68
+    @Test
69
+    public void test2doubleAverageOfArray(){
70
+        //given
71
+        double[] array ={5,5,-6,7,-8,4};
72
+        //when
73
+        double expected =3.5;
74
+        //then
75
+        double actual= arraz.doubleAverageOfArray(array);
76
+        Assert.assertEquals(expected,actual);
77
+    }
78
+
79
+    @Test
80
+    public void test1contains(){
81
+        //given
82
+        int[] intArray =  {4,5,-6,7,-8,4};
83
+        boolean expected=true;
84
+        //when
85
+        boolean actual= arraz.contains(intArray,5);
86
+        //then
87
+        Assert.assertEquals(expected,actual);
88
+    }
89
+
90
+
91
+    @Test
92
+    public void test2contains(){
93
+        //given
94
+        int[] intArray = {4,5,-6,7,-8,4};
95
+        boolean expected=false;
96
+        //when
97
+        boolean actual= arraz.contains(intArray,8);
98
+        //then
99
+        Assert.assertEquals(expected,actual);
100
+    }
101
+
102
+    @Test
103
+    public void test1reverseArray(){
104
+        //given
105
+        Integer[] intArray = {4,5,-6,7,-8,4,9};
106
+        Integer[] expected= {9,4,-8,7,-6,5,4};
107
+        //when
108
+        Integer[] actual= arraz.reverseArray(intArray);
109
+        //then
110
+        Assert.assertTrue(Arrays.equals(expected,actual));
111
+    }
112
+
113
+
114
+    @Test
115
+    public void test2reverseArray(){
116
+        //given
117
+        Integer[] intArray = {8,6,5,8,7};
118
+        Integer[] expected= {7,8,5,6,8};
119
+        //when
120
+        Integer[] actual= arraz.reverseArray(intArray);
121
+        //then
122
+        Assert.assertTrue(Arrays.equals(expected,actual));
123
+    }
124
+
125
+    @Test
126
+    public void test1getOddEvensOfArray(){
127
+        //given
128
+        int[] intArray = {3,-3,4,-5,5,6};
129
+       OddEven expected = new OddEven(4,2);
130
+        //when
131
+        OddEven actual=arraz.getOddEvensOfArray(intArray);
132
+        //then
133
+        Assert.assertEquals(expected,actual);
134
+    }
135
+
136
+    @Test
137
+    public void test2getOddEvensOfArray(){
138
+        //given
139
+        int[] intArray = {1,2};
140
+        OddEven expected = new OddEven(1,1);
141
+        //when
142
+        OddEven actual=arraz.getOddEvensOfArray(intArray);
143
+        //then
144
+        Assert.assertEquals(expected,actual);
145
+    }
146
+
147
+
148
+    @Test
149
+    public void test1FindIndexOf(){
150
+        //given
151
+        int[] intArray = {3,-3,4,-5,5,6};
152
+        int expected=2;
153
+        //when
154
+        int actual= arraz.findIndexOf(intArray,4);
155
+        //then
156
+        Assert.assertEquals(expected,actual);
157
+
158
+
159
+    }
160
+
161
+
162
+    @Test
163
+    public void test2FindIndexOf(){
164
+        //given
165
+        int[] intArray = {3,-3,4,-5,5,6};
166
+        int expected=5;
167
+        //when
168
+        int actual= arraz.findIndexOf(intArray,6);
169
+        //then
170
+        Assert.assertEquals(expected,actual);
171
+
172
+
173
+    }
174
+
175
+    @Test
176
+    public void test1copyArrayByLoop(){
177
+        //given
178
+        Integer[] arr1={2,3,4,5};
179
+        Integer[] expected={2,3,4,5};
180
+        //when
181
+        Integer[] actual= arraz.copyarrayByLoop(arr1);
182
+        //then
183
+        Assert.assertEquals(expected,actual);
184
+    }
185
+
186
+    @Test
187
+    public void test2copyArrayByLoop(){
188
+        //given
189
+        Integer[] arr1={6,-5,7,0};
190
+        Integer[] expected={6,-5,7,0};
191
+        //when
192
+        Integer[] actual= arraz.copyarrayByLoop(arr1);
193
+        //then
194
+        Assert.assertEquals(expected,actual);
195
+    }
196
+
197
+    @Test
198
+    public void test1copyArrayByInterator(){
199
+        //given
200
+        Integer[] arr1={6,-5,7,0};
201
+        Integer[] expected={6,-5,7,0};
202
+        //when
203
+        Integer[] actual= arraz.copyArrayByInterator(arr1);
204
+        //then
205
+        Assert.assertEquals(expected,actual);
206
+    }
207
+
208
+    @Test
209
+    public void test2copyArrayByInterator(){
210
+        //given
211
+        Integer[] arr1={6,-5,7,0};
212
+        Integer[] expected={6,-5,7,0};
213
+        //when
214
+        Integer[] actual= arraz.copyArrayByInterator(arr1);
215
+        //then
216
+        Assert.assertEquals(expected,actual);
217
+    }
218
+
219
+    @Test
220
+    public void test1removeElementFromArray(){
221
+        //given
222
+        Integer[] arr= {2,4,5,4,3,6};
223
+        Integer[] expected = {2,5,3,6};
224
+        //when
225
+        Integer[] actual= arraz.removeElementFromArray(arr,4);
226
+        //then
227
+        Assert.assertEquals(expected,actual);
228
+    }
229
+
230
+
231
+    @Test
232
+    public void test2removeElementFromArray(){
233
+        //given
234
+        Integer[] arr= {3,4,5,6};
235
+        Integer[] expected = {3,5,6};
236
+        //when
237
+        Integer[] actual= arraz.removeElementFromArray(arr,4);
238
+        //then
239
+        Assert.assertEquals(expected,actual);
240
+    }
241
+
242
+
243
+    @Test
244
+    public void test1InsertIntoArrayAt(){
245
+        //given
246
+        Integer[] arr={3,5,7,8,3,4};
247
+        int expected=9;
248
+        //when
249
+        int actual= arraz.insertIntoArrayAt(arr,3,9);
250
+        //then
251
+        Assert.assertEquals(expected,actual);
252
+    }
253
+
254
+    @Test
255
+    public  void test1FindMaxMinOfArray(){
256
+        //given
257
+        int[] arr={1,5,3,8,6};
258
+        MaxMin expected= new MaxMin(8,1);
259
+        //when
260
+        MaxMin actual= arraz.findMaxMinOfArray(arr);
261
+        //then
262
+        Assert.assertEquals(expected,actual);
263
+
264
+    }
265
+
266
+    @Test
267
+    public  void test2FindMaxMinOfArray(){
268
+
269
+        //given
270
+        int[] arr={5,-5,3,-8,6};
271
+        MaxMin expected= new MaxMin(6,-8);
272
+        //when
273
+        MaxMin actual= arraz.findMaxMinOfArray(arr);
274
+        //then
275
+        Assert.assertEquals(expected,actual);
276
+    }
277
+
278
+    @Test
279
+    public void testSort(){
280
+        //given
281
+        Integer[] arr={3,8,5,1};
282
+        Integer[] expected= {1,3,5,8};
283
+        //when
284
+        Integer[] actual= arraz.sortArray(arr);
285
+        //then
286
+        Assert.assertEquals(expected,actual);
287
+    }
288
+
289
+
290
+    @Test
291
+    public void test1RemoveDupesFromArray(){
292
+        //given
293
+        Integer[] arr= {2,6,7,6,4};
294
+        Integer[] expected={2,4,6,7};
295
+        //when
296
+        Integer[] actual= arraz.removeDupesFromArray(arr);
297
+        //then
298
+        Assert.assertEquals(expected,actual);
299
+    }
300
+
301
+    @Test
302
+    public void test2RemoveDupesFromArray(){
303
+        //given
304
+        Integer[] arr= {-8,6,3,-8,5};
305
+        Integer[] expected={-8,3,5,6};
306
+        //when
307
+        Integer[] actual= arraz.removeDupesFromArray(arr);
308
+        //then
309
+        Assert.assertEquals(expected,actual);
310
+    }
311
+
312
+    @Test
313
+    public void test1Find2ndLargestValueFromArray(){
314
+        //given
315
+        Double[] arr={7.6,5.7,4.5,3.0};
316
+        Double expected=5.7;
317
+        //when
318
+        Double actual= arraz.find2ndLargestValueFromArray(arr);
319
+        //then
320
+        Assert.assertEquals(expected,actual);
321
+    }
322
+
323
+    @Test
324
+    public void test2Find2ndLargestValueFromArray(){
325
+        //given
326
+        Double[] arr={9.8,8.8,-4.6,0.2};
327
+        Double expected=8.8;
328
+        //when
329
+        Double actual= arraz.find2ndLargestValueFromArray(arr);
330
+        //then
331
+        Assert.assertEquals(expected,actual);
332
+    }
333
+
334
+    @Test
335
+    public void test1MakeMeAnArrayListFromArray() {
336
+        //given
337
+        Integer[] arr = {4, 6, 2, 7};
338
+        ArrayList<Integer> expected =new ArrayList<>(Arrays.asList(arr));
339
+        //when
340
+        ArrayList<Integer> actaul= arraz.makeMeAnArrayListFromArray(arr);
341
+        //then
342
+        Assert.assertEquals(expected,actaul);
343
+    }
344
+
345
+
346
+    @Test
347
+    public void test2MakeMeAnArrayListFromArray() {
348
+        //given
349
+        Integer[] arr = {8,-9,3,-5};
350
+        ArrayList<Integer> expected =new ArrayList<>(Arrays.asList(arr));
351
+        //when
352
+        ArrayList<Integer> actaul= arraz.makeMeAnArrayListFromArray(arr);
353
+        //then
354
+        Assert.assertEquals(expected,actaul);
355
+    }
356
+
357
+    @Test
358
+    public void test1MakeMeAnArrayFromArrayList(){
359
+        //given
360
+        ArrayList<Integer> list= new ArrayList<>();
361
+        list.add(1);
362
+        list.add(3);
363
+        list.add(8);
364
+        Integer[] expected= {1,3,8};
365
+        //when
366
+        Integer[] actual=  arraz.makeMeAnArrayFromArrayList(list);
367
+        //then
368
+        Assert.assertEquals(expected,actual);
369
+    }
370
+
371
+    @Test
372
+    public void test2MakeMeAnArrayFromArrayList(){
373
+        //given
374
+        ArrayList<Integer> list= new ArrayList<>();
375
+        list.add(-9);
376
+        list.add(34);
377
+        list.add(87);
378
+        Integer[] expected= {-9,34,87};
379
+        //when
380
+        Integer[] actual=  arraz.makeMeAnArrayFromArrayList(list);
381
+        //then
382
+        Assert.assertEquals(expected,actual);
383
+    }
384
+
385
+    @Test
386
+    public void test1check2ArraysForEqual(){
387
+        //given
388
+        Integer[] arr1= {1,2,3,4};
389
+        Integer[] arr2={1,2,3,4};
390
+        //when
391
+        boolean expected= true;
392
+        boolean actual= arraz.check2ArraysForEqual(arr1,arr2);
393
+        //then
394
+        Assert.assertEquals(expected,actual);
395
+    }
396
+
397
+
398
+    @Test
399
+    public void test2check2ArraysForEqual(){
400
+        //given
401
+        Integer[] arr1= {1,2,3,4};
402
+        Integer[] arr2={1,4};
403
+        //when
404
+        boolean expected= false;
405
+        boolean actual= arraz.check2ArraysForEqual(arr1,arr2);
406
+        //then
407
+        Assert.assertEquals(expected,actual);
408
+    }
409
+
410
+    @Test
411
+    public void test3check2ArraysForEqual(){
412
+        //given
413
+        Integer[] arr1= {1,2,3,4};
414
+        Integer[] arr2={2,5,6,7};
415
+        //when
416
+        boolean expected= false;
417
+        boolean actual= arraz.check2ArraysForEqual(arr1,arr2);
418
+        //then
419
+        Assert.assertEquals(expected,actual);
420
+    }
421
+
422
+    @Test
423
+    public void test1AverageArrayWithoutMaxMin(){
424
+        //given
425
+        int[] arr={2,4,3};
426
+        //when
427
+        int expected= 1;
428
+        int actual= arraz.averageArrayWithoutMaxMin(arr);
429
+        //then
430
+        Assert.assertEquals(expected,actual);
431
+
432
+    }
433
+
434
+
435
+    @Test
436
+    public void test2AverageArrayWithoutMaxMin(){
437
+        //given
438
+        int[] arr={3,5,6,2,5,8};
439
+        //when
440
+        int expected= 3;
441
+        int actual= arraz.averageArrayWithoutMaxMin(arr);
442
+        //then
443
+        Assert.assertEquals(expected,actual);
444
+    }
445
+
446
+
447
+    @Test
448
+    public void test1AarrayHas65and77(){
449
+        //given
450
+        int[] arr={55,65,87,77,90};
451
+        boolean expected =true;
452
+        //when
453
+        boolean actaul= arraz.arrayHas65and77(arr);
454
+        //then
455
+        Assert.assertEquals(expected,actaul);
456
+    }
457
+
458
+
459
+    @Test
460
+    public void test2AarrayHas65and77(){
461
+        //given
462
+        int[] arr={55,65,87,90};
463
+        boolean expected =false;
464
+        //when
465
+        boolean actaul= arraz.arrayHas65and77(arr);
466
+        //then
467
+        Assert.assertEquals(expected,actaul);
468
+    }
469
+
470
+
471
+    @Test
472
+    public void test1theTotalofTensIs30(){
473
+        //given
474
+        int[] arr={2,10,3,10,10,6};
475
+        boolean expected=true;
476
+        //when
477
+        boolean actual= arraz.theTotalofTensIs30(arr);
478
+        //then
479
+        Assert.assertEquals(expected,actual);
480
+    }
481
+
482
+    @Test
483
+    public void test2theTotalofTensIs30(){
484
+        //given
485
+        int[] arr={2,10,3,10,6};
486
+        boolean expected=false;
487
+        //when
488
+        boolean actual= arraz.theTotalofTensIs30(arr);
489
+        //then
490
+        Assert.assertEquals(expected,actual);
491
+    }
492
+
493
+
494
+    @Test
495
+    public void test1smallAndSecondSmall(){
496
+        //given
497
+        int[] arr={3,5,7,2,4};
498
+        String expected= "smallest: " + 2 + " second smallest: " + 3;
499
+
500
+        //when
501
+        String  actual= arraz.smallAndSecondSmall(arr);
502
+        //then
503
+        Assert.assertEquals(expected,actual);
504
+    }
505
+
506
+
507
+    @Test
508
+    public void test2smallAndSecondSmall(){
509
+        //given
510
+        int[] arr={-7,8,4,-3};
511
+        String expected= "smallest: " + -7 + " second smallest: " + -3;
512
+
513
+        //when
514
+        String  actual= arraz.smallAndSecondSmall(arr);
515
+        //then
516
+        Assert.assertEquals(expected,actual);
517
+    }
518
+
519
+    @Test
520
+    public void testmakeMeACopyPlease(){
521
+        //given
522
+        Integer[] arr= {1,4,3,5};
523
+        Integer[] expected= {1,4,3,5};
524
+        //when
525
+        Integer[] actual= arraz.copyArray(arr);
526
+        //then
527
+        Assert.assertEquals(expected,actual);
528
+    }
529
+
530
+    @Test
531
+    public void test1makeMeACopyPleaseAndReverse(){
532
+        //given
533
+        Integer[] arr= {1,4,3,5};
534
+        Integer[] expected= {5,3,4,1};
535
+        //when
536
+        Integer[] actual= arraz.makeMeACopyPleaseAndReverse(arr);
537
+        //then
538
+        Assert.assertEquals(expected,actual);
539
+    }
540
+
541
+
542
+    @Test
543
+    public void test2makeMeACopyPleaseAndReverse(){
544
+        //given
545
+        Integer[] arr= {3,7,9,2};
546
+        Integer[] expected= {2,9,7,3};
547
+        //when
548
+        Integer[] actual= arraz.makeMeACopyPleaseAndReverse(arr);
549
+        //then
550
+        Assert.assertEquals(expected,actual);
551
+    }
552
+
553
+
554
+    @Test
555
+    public void test1removeLastItemAndCopy(){
556
+        Integer[] arr= {3,7,9,2};
557
+        Integer[] expected= {3,7,9};
558
+        //when
559
+        Integer[] actual= arraz.removeLastItemAndCopy(arr);
560
+        //then
561
+        Assert.assertEquals(expected,actual);
562
+    }
563
+
564
+    @Test
565
+    public void test2removeLastItemAndCopy(){
566
+        Integer[] arr= {3,7,9,2};
567
+        Integer[] expected= {3,7,9};
568
+        //when
569
+        Integer[] actual= arraz.removeLastItemAndCopy(arr);
570
+        //then
571
+        Assert.assertEquals(expected,actual);
572
+    }
573
+
574
+    @Test
575
+    public void test1removeFirstItemAndCopy(){
576
+        Integer[] arr1= {3,7,9,2};
577
+        Integer[] expected= {7,9,2};
578
+        //when
579
+        Integer[] actual= arraz.removeFirstItemAndCopy(arr1);
580
+        //then
581
+        Assert.assertEquals(expected,actual);
582
+    }
583
+
584
+    @Test
585
+    public void test2removeFirstItemAndCopy(){
586
+        Integer[] arr= {4,6,9,3,8};
587
+        Integer[] expected= {6,9,3,8};
588
+        //when
589
+        Integer[] actual= arraz.removeFirstItemAndCopy(arr);
590
+        //then
591
+        Assert.assertEquals(expected,actual);
592
+    }
593
+
594
+    @Test
595
+    public void test1insertAtStartAndCopy(){
596
+
597
+        Integer[] arr= {3,7,9,2};
598
+        Integer[] expected= {1,3,7,9,2};
599
+        //when
600
+        Integer[] actual= arraz.insertAtStartAndCopy(arr,1);
601
+        //then
602
+        Assert.assertEquals(expected,actual);
603
+
604
+    }
605
+
606
+
607
+    @Test
608
+    public void test2insertAtStartAndCopy(){
609
+
610
+        Integer[] arr= {2,6,9,4};
611
+        Integer[] expected= {5,2,6,9,4};
612
+        //when
613
+        Integer[] actual= arraz.insertAtStartAndCopy(arr,5);
614
+        //then
615
+        Assert.assertEquals(expected,actual);
616
+
617
+    }
618
+
619
+    @Test
620
+    public void test1insertAtEndAndCopy(){
621
+        Integer[] arr= {3,7,9,2};
622
+        Integer[] expected= {3,7,9,2,1};
623
+        //when
624
+        Integer[] actual= arraz.insertAtEndAndCopy(arr,1);
625
+        //then
626
+        Assert.assertEquals(expected,actual);
627
+    }
628
+
629
+
630
+    @Test
631
+    public void test2insertAtEndAndCopy(){
632
+        Integer[] arr= {5,-9,2,7};
633
+        Integer[] expected= {5,-9,2,7,3};
634
+        //when
635
+        Integer[] actual= arraz.insertAtEndAndCopy(arr,3);
636
+        //then
637
+        Assert.assertEquals(expected,actual);
638
+    }
639
+
640
+
641
+    @Test
642
+    public void test1sortArrayIntoEvensThenOdds(){
643
+
644
+        Integer[] arr= {3,6,7,8};
645
+        Integer[] expected= {6,8,3,7};
646
+
647
+        Integer[] expected1= new Integer[0];
648
+        System.out.println(expected1.length);
649
+
650
+        //when
651
+        Integer[] actual= arraz.sortArrayIntoEvensThenOdds(arr);
652
+        //then
653
+        Assert.assertEquals(expected,actual);
654
+
655
+    }
656
+
657
+    @Test
658
+    public void test2sortArrayIntoEvensThenOdds(){
659
+
660
+        Integer[] arr= {9,3,2,5,4};
661
+        Integer[] expected= {2,4,3,5,9};
662
+        //when
663
+        Integer[] actual= arraz.sortArrayIntoEvensThenOdds(arr);
664
+        //then
665
+        Assert.assertEquals(expected,actual);
666
+
667
+    }
668
+
669
+    @Test
670
+    public void testFindCommanItem(){
671
+        //given
672
+        String[] str1={"sam","abhi","ladi"};
673
+        String[] str2={"sam","rina","ladi"};
674
+        String[] expected= {"sam","ladi"};
675
+        //when
676
+        String[] actual=arraz.findCommanItems(str1,str2);
677
+        //then
678
+        Assert.assertEquals(expected,actual);
679
+    }
680
+
681
+
682
+
683
+
684
+
685
+//    @Test
686
+//    public void testFindSecondLargest(){
687
+//        //given
688
+//        int[] arr1={3,5,8,4};
689
+//        String expected= "the second largest is: " + 5;
690
+//        //when
691
+//        String actual= Arraz.secondLargest(arr1);
692
+//        //then
693
+//        Assert.assertEquals(expected,actual);
694
+//    }
695
+
5 696
 }