Simran Bhutani 6 年前
父节点
当前提交
a09ffb93c1

+ 1
- 0
.idea/.name 查看文件

@@ -0,0 +1 @@
1
+generics

+ 13
- 0
.idea/compiler.xml 查看文件

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

+ 14
- 0
.idea/misc.xml 查看文件

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

+ 7
- 0
.idea/other.xml 查看文件

@@ -0,0 +1,7 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="PySciProjectComponent">
4
+    <option name="PY_SCI_VIEW" value="true" />
5
+    <option name="PY_SCI_VIEW_SUGGESTED" value="true" />
6
+  </component>
7
+</project>

+ 6
- 0
.idea/vcs.xml 查看文件

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

+ 557
- 0
.idea/workspace.xml 查看文件

@@ -0,0 +1,557 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="e8aeb33c-5537-473a-b8ee-f18fecba7097" name="Default Changelist" comment="">
5
+      <change afterPath="$PROJECT_DIR$/src/main/java/MyArrayList.java" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/src/main/java/MyMap.java" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/src/main/java/MySet.java" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/src/test/java/MyMapTest.java" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/src/test/java/MySetTest.java" afterDir="false" />
10
+    </list>
11
+    <ignored path="$PROJECT_DIR$/target/" />
12
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
13
+    <option name="SHOW_DIALOG" value="false" />
14
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
15
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
16
+    <option name="LAST_RESOLUTION" value="IGNORE" />
17
+  </component>
18
+  <component name="FUSProjectUsageTrigger">
19
+    <session id="1182466488">
20
+      <usages-collector id="statistics.lifecycle.project">
21
+        <counts>
22
+          <entry key="project.closed" value="9" />
23
+          <entry key="project.open.time.0" value="1" />
24
+          <entry key="project.open.time.1" value="4" />
25
+          <entry key="project.open.time.7" value="1" />
26
+          <entry key="project.open.time.8" value="2" />
27
+          <entry key="project.open.time.9" value="2" />
28
+          <entry key="project.opened" value="10" />
29
+        </counts>
30
+      </usages-collector>
31
+      <usages-collector id="statistics.file.extensions.open">
32
+        <counts>
33
+          <entry key="deleteme" value="1" />
34
+          <entry key="ipynb" value="2" />
35
+          <entry key="java" value="37" />
36
+          <entry key="md" value="12" />
37
+        </counts>
38
+      </usages-collector>
39
+      <usages-collector id="statistics.file.types.open">
40
+        <counts>
41
+          <entry key="JAVA" value="37" />
42
+          <entry key="Markdown" value="12" />
43
+          <entry key="PLAIN_TEXT" value="3" />
44
+        </counts>
45
+      </usages-collector>
46
+      <usages-collector id="statistics.file.extensions.edit">
47
+        <counts>
48
+          <entry key="java" value="4984" />
49
+        </counts>
50
+      </usages-collector>
51
+      <usages-collector id="statistics.file.types.edit">
52
+        <counts>
53
+          <entry key="JAVA" value="4984" />
54
+        </counts>
55
+      </usages-collector>
56
+      <usages-collector id="statistics.js.language.service.starts" />
57
+      <usages-collector id="statistics.spring.boot.mvc.usages" />
58
+      <usages-collector id="statistics.vcs.git.usages" />
59
+      <usages-collector id="statistics.spring.boot.run.usages" />
60
+    </session>
61
+  </component>
62
+  <component name="FileEditorManager">
63
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
64
+      <file pinned="false" current-in-tab="false">
65
+        <entry file="file://$PROJECT_DIR$/src/test/java/MyArrayListTest.java">
66
+          <provider selected="true" editor-type-id="text-editor">
67
+            <state relative-caret-position="1725">
68
+              <caret line="115" selection-start-line="115" selection-end-line="115" />
69
+              <folding>
70
+                <element signature="imports" expanded="true" />
71
+              </folding>
72
+            </state>
73
+          </provider>
74
+        </entry>
75
+      </file>
76
+      <file pinned="false" current-in-tab="false">
77
+        <entry file="file://$PROJECT_DIR$/src/main/java/MyMap.java">
78
+          <provider selected="true" editor-type-id="text-editor">
79
+            <state relative-caret-position="645">
80
+              <caret line="43" column="33" selection-start-line="43" selection-start-column="33" selection-end-line="43" selection-end-column="33" />
81
+            </state>
82
+          </provider>
83
+        </entry>
84
+      </file>
85
+      <file pinned="false" current-in-tab="true">
86
+        <entry file="file://$PROJECT_DIR$/src/test/java/MyMapTest.java">
87
+          <provider selected="true" editor-type-id="text-editor">
88
+            <state relative-caret-position="900">
89
+              <caret line="60" column="40" lean-forward="true" selection-start-line="60" selection-start-column="40" selection-end-line="60" selection-end-column="40" />
90
+              <folding>
91
+                <element signature="imports" expanded="true" />
92
+              </folding>
93
+            </state>
94
+          </provider>
95
+        </entry>
96
+      </file>
97
+      <file pinned="false" current-in-tab="false">
98
+        <entry file="file://$PROJECT_DIR$/src/test/java/MySetTest.java">
99
+          <provider selected="true" editor-type-id="text-editor">
100
+            <state relative-caret-position="1365">
101
+              <caret line="91" column="5" selection-start-line="91" selection-start-column="5" selection-end-line="91" selection-end-column="5" />
102
+              <folding>
103
+                <element signature="imports" expanded="true" />
104
+              </folding>
105
+            </state>
106
+          </provider>
107
+        </entry>
108
+      </file>
109
+      <file pinned="false" current-in-tab="false">
110
+        <entry file="file://$PROJECT_DIR$/src/main/java/MySet.java">
111
+          <provider selected="true" editor-type-id="text-editor">
112
+            <state relative-caret-position="1080">
113
+              <caret line="76" column="21" selection-start-line="76" selection-start-column="21" selection-end-line="76" selection-end-column="21" />
114
+              <folding>
115
+                <element signature="e#86#87#0" expanded="true" />
116
+                <element signature="e#133#134#0" expanded="true" />
117
+                <element signature="e#163#164#0" expanded="true" />
118
+                <element signature="e#213#214#0" expanded="true" />
119
+              </folding>
120
+            </state>
121
+          </provider>
122
+        </entry>
123
+      </file>
124
+    </leaf>
125
+  </component>
126
+  <component name="FileTemplateManagerImpl">
127
+    <option name="RECENT_TEMPLATES">
128
+      <list>
129
+        <option value="Class" />
130
+        <option value="JUnit4 Test Class" />
131
+      </list>
132
+    </option>
133
+  </component>
134
+  <component name="Git.Settings">
135
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
136
+  </component>
137
+  <component name="IdeDocumentHistory">
138
+    <option name="CHANGED_PATHS">
139
+      <list>
140
+        <option value="$USER_HOME$/Downloads/notebook tutorial (2).ipynb" />
141
+        <option value="$PROJECT_DIR$/src/test/java/TestMyArraylist.java" />
142
+        <option value="$PROJECT_DIR$/src/main/java/SortArray.java" />
143
+        <option value="$PROJECT_DIR$/src/main/java/MyArrayList.java" />
144
+        <option value="$PROJECT_DIR$/src/main/java/MySet.java" />
145
+        <option value="$PROJECT_DIR$/src/test/java/MyArrayListTest.java" />
146
+        <option value="$PROJECT_DIR$/src/test/java/MySetTest.java" />
147
+        <option value="$PROJECT_DIR$/src/main/java/MyMap.java" />
148
+        <option value="$PROJECT_DIR$/src/test/java/MyMapTest.java" />
149
+      </list>
150
+    </option>
151
+  </component>
152
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
153
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
154
+  <component name="JsGulpfileManager">
155
+    <detection-done>true</detection-done>
156
+    <sorting>DEFINITION_ORDER</sorting>
157
+  </component>
158
+  <component name="ProjectFrameBounds">
159
+    <option name="y" value="23" />
160
+    <option name="width" value="1440" />
161
+    <option name="height" value="817" />
162
+  </component>
163
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
164
+  <component name="ProjectView">
165
+    <navigator proportions="" version="1">
166
+      <foldersAlwaysOnTop value="true" />
167
+    </navigator>
168
+    <panes>
169
+      <pane id="PackagesPane" />
170
+      <pane id="Scope" />
171
+      <pane id="ProjectPane">
172
+        <subPane>
173
+          <expand>
174
+            <path>
175
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
176
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
177
+            </path>
178
+            <path>
179
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
180
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
181
+              <item name=".idea" type="462c0819:PsiDirectoryNode" />
182
+            </path>
183
+            <path>
184
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
185
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
186
+              <item name="src" type="462c0819:PsiDirectoryNode" />
187
+            </path>
188
+            <path>
189
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
190
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
191
+              <item name="src" type="462c0819:PsiDirectoryNode" />
192
+              <item name="main" type="462c0819:PsiDirectoryNode" />
193
+            </path>
194
+            <path>
195
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
196
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
197
+              <item name="src" type="462c0819:PsiDirectoryNode" />
198
+              <item name="main" type="462c0819:PsiDirectoryNode" />
199
+              <item name="java" type="462c0819:PsiDirectoryNode" />
200
+            </path>
201
+            <path>
202
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
203
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
204
+              <item name="src" type="462c0819:PsiDirectoryNode" />
205
+              <item name="test" type="462c0819:PsiDirectoryNode" />
206
+            </path>
207
+            <path>
208
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
209
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
210
+              <item name="src" type="462c0819:PsiDirectoryNode" />
211
+              <item name="test" type="462c0819:PsiDirectoryNode" />
212
+              <item name="java" type="462c0819:PsiDirectoryNode" />
213
+            </path>
214
+          </expand>
215
+          <select />
216
+        </subPane>
217
+      </pane>
218
+    </panes>
219
+  </component>
220
+  <component name="PropertiesComponent">
221
+    <property name="WebServerToolWindowFactoryState" value="false" />
222
+    <property name="aspect.path.notification.shown" value="true" />
223
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542589076586" />
224
+    <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
225
+    <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrarySuperClass.JUnit4" value="" />
226
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
227
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
228
+    <property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
229
+  </component>
230
+  <component name="RecentsManager">
231
+    <key name="CreateTestDialog.RecentsKey">
232
+      <recent name="" />
233
+    </key>
234
+    <key name="CreateTestDialog.Recents.Supers">
235
+      <recent name="" />
236
+    </key>
237
+  </component>
238
+  <component name="RunDashboard">
239
+    <option name="ruleStates">
240
+      <list>
241
+        <RuleState>
242
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
243
+        </RuleState>
244
+        <RuleState>
245
+          <option name="name" value="StatusDashboardGroupingRule" />
246
+        </RuleState>
247
+      </list>
248
+    </option>
249
+  </component>
250
+  <component name="RunManager" selected="JUnit.MyMapTest">
251
+    <configuration name="MyArrayListTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
252
+      <module name="generics" />
253
+      <option name="PACKAGE_NAME" value="" />
254
+      <option name="MAIN_CLASS_NAME" value="MyArrayListTest" />
255
+      <method v="2">
256
+        <option name="Make" enabled="true" />
257
+      </method>
258
+    </configuration>
259
+    <configuration name="MyMapTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
260
+      <module name="generics" />
261
+      <option name="PACKAGE_NAME" value="" />
262
+      <option name="MAIN_CLASS_NAME" value="MyMapTest" />
263
+      <method v="2">
264
+        <option name="Make" enabled="true" />
265
+      </method>
266
+    </configuration>
267
+    <configuration name="MyMapTest.clear" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
268
+      <module name="generics" />
269
+      <option name="PACKAGE_NAME" value="" />
270
+      <option name="MAIN_CLASS_NAME" value="MyMapTest" />
271
+      <option name="METHOD_NAME" value="clear" />
272
+      <option name="TEST_OBJECT" value="method" />
273
+      <method v="2">
274
+        <option name="Make" enabled="true" />
275
+      </method>
276
+    </configuration>
277
+    <configuration name="MyMapTest.size" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
278
+      <module name="generics" />
279
+      <option name="PACKAGE_NAME" value="" />
280
+      <option name="MAIN_CLASS_NAME" value="MyMapTest" />
281
+      <option name="METHOD_NAME" value="size" />
282
+      <option name="TEST_OBJECT" value="method" />
283
+      <method v="2">
284
+        <option name="Make" enabled="true" />
285
+      </method>
286
+    </configuration>
287
+    <configuration name="MySetTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
288
+      <module name="generics" />
289
+      <option name="PACKAGE_NAME" value="" />
290
+      <option name="MAIN_CLASS_NAME" value="MySetTest" />
291
+      <method v="2">
292
+        <option name="Make" enabled="true" />
293
+      </method>
294
+    </configuration>
295
+    <configuration default="true" type="PythonConfigurationType" factoryName="Python">
296
+      <module name="generics" />
297
+      <option name="INTERPRETER_OPTIONS" value="" />
298
+      <option name="PARENT_ENVS" value="true" />
299
+      <envs>
300
+        <env name="PYTHONUNBUFFERED" value="1" />
301
+      </envs>
302
+      <option name="SDK_HOME" value="" />
303
+      <option name="WORKING_DIRECTORY" value="" />
304
+      <option name="IS_MODULE_SDK" value="false" />
305
+      <option name="ADD_CONTENT_ROOTS" value="true" />
306
+      <option name="ADD_SOURCE_ROOTS" value="true" />
307
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
308
+      <option name="SCRIPT_NAME" value="" />
309
+      <option name="PARAMETERS" value="" />
310
+      <option name="SHOW_COMMAND_LINE" value="true" />
311
+      <option name="EMULATE_TERMINAL" value="false" />
312
+      <option name="MODULE_MODE" value="false" />
313
+      <option name="REDIRECT_INPUT" value="false" />
314
+      <option name="INPUT_FILE" value="" />
315
+      <method v="2" />
316
+    </configuration>
317
+    <list>
318
+      <item itemvalue="JUnit.MyMapTest.size" />
319
+      <item itemvalue="JUnit.MyMapTest.clear" />
320
+      <item itemvalue="JUnit.MyArrayListTest" />
321
+      <item itemvalue="JUnit.MyMapTest" />
322
+      <item itemvalue="JUnit.MySetTest" />
323
+    </list>
324
+    <recent_temporary>
325
+      <list>
326
+        <item itemvalue="JUnit.MyMapTest" />
327
+        <item itemvalue="JUnit.MySetTest" />
328
+        <item itemvalue="JUnit.MyArrayListTest" />
329
+        <item itemvalue="JUnit.MyMapTest.clear" />
330
+        <item itemvalue="JUnit.MyMapTest.size" />
331
+      </list>
332
+    </recent_temporary>
333
+  </component>
334
+  <component name="SvnConfiguration">
335
+    <configuration />
336
+  </component>
337
+  <component name="TaskManager">
338
+    <task active="true" id="Default" summary="Default task">
339
+      <changelist id="e8aeb33c-5537-473a-b8ee-f18fecba7097" name="Default Changelist" comment="" />
340
+      <created>1542236496952</created>
341
+      <option name="number" value="Default" />
342
+      <option name="presentableId" value="Default" />
343
+      <updated>1542236496952</updated>
344
+      <workItem from="1542236498323" duration="774000" />
345
+      <workItem from="1542237476856" duration="293000" />
346
+      <workItem from="1542249300766" duration="1954000" />
347
+      <workItem from="1542286661656" duration="978000" />
348
+      <workItem from="1542308190217" duration="2543000" />
349
+      <workItem from="1542318861051" duration="3528000" />
350
+      <workItem from="1542379439317" duration="4825000" />
351
+      <workItem from="1542407090678" duration="772000" />
352
+      <workItem from="1542415390479" duration="7330000" />
353
+      <workItem from="1542559215702" duration="16333000" />
354
+    </task>
355
+    <servers />
356
+  </component>
357
+  <component name="TestHistory">
358
+    <history-entry file="MyMapTest_size - 2018.11.18 at 19h 49m 22s.xml">
359
+      <configuration name="MyMapTest.size" configurationId="JUnit" />
360
+    </history-entry>
361
+    <history-entry file="MyMapTest_clear - 2018.11.18 at 19h 52m 09s.xml">
362
+      <configuration name="MyMapTest.clear" configurationId="JUnit" />
363
+    </history-entry>
364
+    <history-entry file="MyMapTest_clear - 2018.11.18 at 19h 52m 29s.xml">
365
+      <configuration name="MyMapTest.clear" configurationId="JUnit" />
366
+    </history-entry>
367
+    <history-entry file="MyMapTest_clear - 2018.11.18 at 19h 52m 46s.xml">
368
+      <configuration name="MyMapTest.clear" configurationId="JUnit" />
369
+    </history-entry>
370
+    <history-entry file="MyMapTest_clear - 2018.11.18 at 19h 54m 41s.xml">
371
+      <configuration name="MyMapTest.clear" configurationId="JUnit" />
372
+    </history-entry>
373
+    <history-entry file="MyMapTest_clear - 2018.11.18 at 19h 55m 46s.xml">
374
+      <configuration name="MyMapTest.clear" configurationId="JUnit" />
375
+    </history-entry>
376
+    <history-entry file="MyArrayListTest - 2018.11.18 at 19h 56m 37s.xml">
377
+      <configuration name="MyArrayListTest" configurationId="JUnit" />
378
+    </history-entry>
379
+    <history-entry file="MyMapTest - 2018.11.18 at 19h 56m 54s.xml">
380
+      <configuration name="MyMapTest" configurationId="JUnit" />
381
+    </history-entry>
382
+    <history-entry file="MySetTest - 2018.11.18 at 19h 57m 03s.xml">
383
+      <configuration name="MySetTest" configurationId="JUnit" />
384
+    </history-entry>
385
+    <history-entry file="MyMapTest - 2018.11.18 at 19h 57m 47s.xml">
386
+      <configuration name="MyMapTest" configurationId="JUnit" />
387
+    </history-entry>
388
+  </component>
389
+  <component name="TimeTrackingManager">
390
+    <option name="totallyTimeSpent" value="39330000" />
391
+  </component>
392
+  <component name="ToolWindowManager">
393
+    <frame x="0" y="23" width="1440" height="817" extended-state="0" />
394
+    <editor active="true" />
395
+    <layout>
396
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.17310444" />
397
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
398
+      <window_info id="Image Layers" order="2" />
399
+      <window_info id="Designer" order="3" />
400
+      <window_info id="UI Designer" order="4" />
401
+      <window_info id="Capture Tool" order="5" />
402
+      <window_info id="Favorites" order="6" side_tool="true" />
403
+      <window_info anchor="bottom" id="Message" order="0" />
404
+      <window_info anchor="bottom" id="Find" order="1" />
405
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32891566" />
406
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
407
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
408
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
409
+      <window_info anchor="bottom" id="TODO" order="6" />
410
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
411
+      <window_info anchor="bottom" id="Terminal" order="8" />
412
+      <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
413
+      <window_info anchor="bottom" id="Version Control" order="10" show_stripe_button="false" />
414
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.32891566" />
415
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
416
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
417
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
418
+      <window_info anchor="right" id="Palette" order="3" />
419
+      <window_info anchor="right" id="Capture Analysis" order="4" />
420
+      <window_info anchor="right" id="Theme Preview" order="5" />
421
+      <window_info anchor="right" id="Palette&#9;" order="6" />
422
+      <window_info anchor="right" id="Database" order="7" />
423
+      <window_info anchor="right" id="Maven Projects" order="8" />
424
+      <window_info anchor="right" x="0" y="0" width="310" height="700" id="Documentation" order="9" side_tool="true" weight="0.3297568" />
425
+      <window_info anchor="right" id="SciView" order="10" />
426
+    </layout>
427
+  </component>
428
+  <component name="TypeScriptGeneratedFilesManager">
429
+    <option name="version" value="1" />
430
+  </component>
431
+  <component name="VcsContentAnnotationSettings">
432
+    <option name="myLimit" value="2678400000" />
433
+  </component>
434
+  <component name="editorHistoryManager">
435
+    <entry file="file://$PROJECT_DIR$/src/main/java/.deleteme">
436
+      <provider selected="true" editor-type-id="text-editor" />
437
+    </entry>
438
+    <entry file="file://$USER_HOME$/Downloads/notebook tutorial (1).ipynb">
439
+      <provider selected="true" editor-type-id="ipnb-editor">
440
+        <state>
441
+          <selected id="0" />
442
+        </state>
443
+      </provider>
444
+      <provider editor-type-id="text-editor" />
445
+    </entry>
446
+    <entry file="file://$USER_HOME$/Downloads/notebook tutorial (2).ipynb">
447
+      <provider selected="true" editor-type-id="ipnb-editor">
448
+        <state>
449
+          <selected id="0" />
450
+        </state>
451
+      </provider>
452
+      <provider editor-type-id="text-editor" />
453
+    </entry>
454
+    <entry file="file://$PROJECT_DIR$/../CR-MesoLabs-Collections-SinglyLinkedList/src/main/java/com/zipcodewilmington/singlylinkedlist/SinglyLinkedList.java">
455
+      <provider selected="true" editor-type-id="text-editor" />
456
+    </entry>
457
+    <entry file="file://$PROJECT_DIR$/../CR-MesoLabs-Collections-SinglyLinkedList/src/main/java/com/zipcodewilmington/singlylinkedlist/MainApplication.java">
458
+      <provider selected="true" editor-type-id="text-editor" />
459
+    </entry>
460
+    <entry file="file://$PROJECT_DIR$/src/test/java/TestMyArraylist.java" />
461
+    <entry file="file://$PROJECT_DIR$/../CR-MesoLabs-Generics-ArrayUtility/src/test/java/com/zipcodewilmington/arrayutility/RemoveValueTest.java">
462
+      <provider selected="true" editor-type-id="text-editor" />
463
+    </entry>
464
+    <entry file="file://$PROJECT_DIR$/src/main/java/SortArray.java">
465
+      <provider selected="true" editor-type-id="text-editor">
466
+        <state relative-caret-position="30">
467
+          <caret line="2" column="24" selection-start-line="2" selection-start-column="24" selection-end-line="2" selection-end-column="24" />
468
+        </state>
469
+      </provider>
470
+    </entry>
471
+    <entry file="file://$PROJECT_DIR$/README.md">
472
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
473
+        <state split_layout="SECOND">
474
+          <first_editor />
475
+          <second_editor />
476
+        </state>
477
+      </provider>
478
+    </entry>
479
+    <entry file="file://$PROJECT_DIR$/src/main/java/MyArrayList.java">
480
+      <provider selected="true" editor-type-id="text-editor">
481
+        <state relative-caret-position="618">
482
+          <caret line="123" selection-start-line="123" selection-end-line="123" />
483
+          <folding>
484
+            <element signature="e#1788#1789#0" expanded="true" />
485
+            <element signature="e#1832#1833#0" expanded="true" />
486
+          </folding>
487
+        </state>
488
+      </provider>
489
+    </entry>
490
+    <entry file="file://$PROJECT_DIR$/src/test/java/MyArrayListTest.java">
491
+      <provider selected="true" editor-type-id="text-editor">
492
+        <state relative-caret-position="1725">
493
+          <caret line="115" selection-start-line="115" selection-end-line="115" />
494
+          <folding>
495
+            <element signature="imports" expanded="true" />
496
+          </folding>
497
+        </state>
498
+      </provider>
499
+    </entry>
500
+    <entry file="file://$PROJECT_DIR$/src/test/java/MySetTest.java">
501
+      <provider selected="true" editor-type-id="text-editor">
502
+        <state relative-caret-position="1365">
503
+          <caret line="91" column="5" selection-start-line="91" selection-start-column="5" selection-end-line="91" selection-end-column="5" />
504
+          <folding>
505
+            <element signature="imports" expanded="true" />
506
+          </folding>
507
+        </state>
508
+      </provider>
509
+    </entry>
510
+    <entry file="file://$PROJECT_DIR$/src/main/java/MySet.java">
511
+      <provider selected="true" editor-type-id="text-editor">
512
+        <state relative-caret-position="1080">
513
+          <caret line="76" column="21" selection-start-line="76" selection-start-column="21" selection-end-line="76" selection-end-column="21" />
514
+          <folding>
515
+            <element signature="e#86#87#0" expanded="true" />
516
+            <element signature="e#133#134#0" expanded="true" />
517
+            <element signature="e#163#164#0" expanded="true" />
518
+            <element signature="e#213#214#0" expanded="true" />
519
+          </folding>
520
+        </state>
521
+      </provider>
522
+    </entry>
523
+    <entry file="file://$PROJECT_DIR$/src/main/java/MyMap.java">
524
+      <provider selected="true" editor-type-id="text-editor">
525
+        <state relative-caret-position="645">
526
+          <caret line="43" column="33" selection-start-line="43" selection-start-column="33" selection-end-line="43" selection-end-column="33" />
527
+        </state>
528
+      </provider>
529
+    </entry>
530
+    <entry file="file://$PROJECT_DIR$/src/test/java/MyMapTest.java">
531
+      <provider selected="true" editor-type-id="text-editor">
532
+        <state relative-caret-position="900">
533
+          <caret line="60" column="40" lean-forward="true" selection-start-line="60" selection-start-column="40" selection-end-line="60" selection-end-column="40" />
534
+          <folding>
535
+            <element signature="imports" expanded="true" />
536
+          </folding>
537
+        </state>
538
+      </provider>
539
+    </entry>
540
+  </component>
541
+  <component name="masterDetails">
542
+    <states>
543
+      <state key="ProjectJDKs.UI">
544
+        <settings>
545
+          <last-edited>1.8</last-edited>
546
+          <splitter-proportions>
547
+            <option name="proportions">
548
+              <list>
549
+                <option value="0.2" />
550
+              </list>
551
+            </option>
552
+          </splitter-proportions>
553
+        </settings>
554
+      </state>
555
+    </states>
556
+  </component>
557
+</project>

+ 128
- 0
src/main/java/MyArrayList.java 查看文件

@@ -0,0 +1,128 @@
1
+import java.util.Arrays;
2
+
3
+public class MyArrayList <T> {
4
+
5
+    T [] myArray;
6
+
7
+    public MyArrayList() {
8
+       this.myArray= (T[]) new Object[0];
9
+
10
+    }
11
+
12
+    public MyArrayList(int size) {
13
+
14
+        this.myArray= (T[]) new Object[size];
15
+
16
+    }
17
+
18
+    public int size(){
19
+
20
+        return myArray.length;
21
+    }
22
+
23
+    public boolean add( T element)
24
+    {
25
+       //T[] myNewArray = (T[]) new Object[(myArray.length+1)];
26
+       T[] myNewArray = Arrays.copyOf(myArray,myArray.length+1);
27
+       myNewArray[myArray.length] =element;
28
+        myArray=myNewArray;
29
+        return true;
30
+
31
+    }
32
+    public boolean add(T element , int index)
33
+    {
34
+        if(index<myArray.length){
35
+            myArray[index]=element;
36
+            return true;
37
+
38
+        }
39
+        else
40
+        {
41
+            T[] myNewArray = Arrays.copyOf(myArray,index+1);
42
+            myNewArray[index] =element;
43
+            myArray=myNewArray;
44
+            return true;
45
+        }
46
+
47
+    }
48
+
49
+    public boolean remove(T element){
50
+      T[] myNewArray = (T[]) new Object[myArray.length-1];
51
+   //   MyArrayList myArrayList1=new MyArrayList();
52
+
53
+ int counter =0;
54
+        for (T elem:myArray ) {
55
+            if (!(elem.equals(element) )){
56
+                myNewArray[counter] = elem;
57
+            }
58
+            counter ++;
59
+
60
+        }
61
+
62
+
63
+        return true;
64
+    }
65
+
66
+
67
+    public T get(int index){
68
+        int counter =0;
69
+        for(T element : myArray){
70
+            if(counter== index){
71
+                return element;
72
+            }
73
+            counter++;
74
+        }
75
+        return null;
76
+    }
77
+
78
+    public T set(int index, T element){
79
+        for (int i = 0; i < myArray.length; i++) {
80
+            if(i== index){
81
+                myArray[i]= element;
82
+                return element;
83
+            }
84
+        }
85
+        return null;
86
+    }
87
+
88
+    public  void clear(){
89
+        myArray= (T[]) new Object[0];
90
+    }
91
+
92
+
93
+    public boolean isEmpty(){
94
+        if(myArray.length==0){
95
+            return true;
96
+        }
97
+        else  return false;
98
+    }
99
+
100
+
101
+    public boolean contains(T element){
102
+
103
+        boolean output =false;
104
+
105
+        for (T elem: myArray
106
+             ) {
107
+            if (elem.equals(element) && (!elem.equals(null)))
108
+            {
109
+                output= true;
110
+            }
111
+
112
+
113
+        }
114
+//
115
+//        for (int i = 0; i < myArray.length; i++) {
116
+//            if(myArray[i].equals(element)){
117
+//                return true;
118
+//            }
119
+//        }
120
+        return output;
121
+    }
122
+
123
+
124
+
125
+
126
+
127
+
128
+}

+ 74
- 0
src/main/java/MyMap.java 查看文件

@@ -0,0 +1,74 @@
1
+
2
+public class MyMap<KeyType, ValueType> {
3
+
4
+    MyArrayList<ValueType> values;
5
+    MySet<KeyType> keyValue;
6
+    int size;
7
+
8
+    public MyMap(MyArrayList<ValueType> value, MySet<KeyType> key, int size) {
9
+        this.values = new MyArrayList<>();
10
+        this.keyValue = new MySet<>();
11
+        this.size = size;
12
+    }
13
+
14
+    public MyMap() {
15
+        this.values = new MyArrayList<>();
16
+        this.keyValue = new MySet<>();
17
+        this.size = 0;
18
+    }
19
+
20
+    public int size(){
21
+
22
+        return this.size;
23
+    }
24
+
25
+    public void clear(){
26
+
27
+        values.clear();
28
+        keyValue.clear();
29
+    }
30
+
31
+    public Boolean containsKey(KeyType key){
32
+
33
+        return keyValue.contains(key);
34
+    }
35
+
36
+    public boolean containsValue(ValueType value){
37
+
38
+        return values.contains(value);
39
+    }
40
+
41
+    public ValueType get(KeyType key){
42
+
43
+        int index= keyValue.getIndex(key);
44
+        return values.get(index);
45
+        }
46
+
47
+    public boolean isEmpty(){
48
+
49
+        if(keyValue.isEmpty() && values.isEmpty()){
50
+            return true;
51
+        }
52
+        else return false;
53
+    }
54
+
55
+    public void put(KeyType key, ValueType value){
56
+
57
+        if(keyValue.contains(key)){
58
+            values.add(value);
59
+        }
60
+        else{
61
+            keyValue.add(key);
62
+            values.add(value);
63
+        }
64
+        size++;
65
+    }
66
+
67
+
68
+    public void remove(KeyType key){
69
+
70
+
71
+    }
72
+
73
+
74
+}

+ 83
- 0
src/main/java/MySet.java 查看文件

@@ -0,0 +1,83 @@
1
+import java.util.Arrays;
2
+
3
+public class MySet<E>{
4
+
5
+     E[] mySet;
6
+
7
+    public MySet() {
8
+        this.mySet= (E[]) new Object[0];
9
+    }
10
+
11
+    public MySet(int size) {
12
+        this.mySet= (E[]) new Object[size];
13
+    }
14
+
15
+    public int 	size(){
16
+        return mySet.length;
17
+    }
18
+
19
+    public boolean add(E elemt ){
20
+        E[] myNewArray = Arrays.copyOf(mySet,mySet.length+1);
21
+        myNewArray[mySet.length] =elemt;
22
+        mySet=myNewArray;
23
+        return true;
24
+    }
25
+
26
+    public boolean addAll(){
27
+        return Boolean.parseBoolean(null);
28
+    }
29
+
30
+    public void clear(){
31
+
32
+        mySet= (E[]) new Object[0];
33
+    }
34
+
35
+    public E get(int index){
36
+        int counter =0;
37
+        for(E element : mySet){
38
+            if(counter== index){
39
+                return element;
40
+            }
41
+            counter++;
42
+        }
43
+        return null;
44
+    }
45
+
46
+    public boolean contains(E o){
47
+
48
+        boolean output =false;
49
+
50
+        for (E elem: mySet) {
51
+            if (elem.equals(o) && (!elem.equals(null)))
52
+            {
53
+                output= true;
54
+            }
55
+        }
56
+
57
+    return output;
58
+    }
59
+
60
+    public boolean remove(E o){
61
+
62
+    return Boolean.parseBoolean(null);
63
+    }
64
+
65
+
66
+
67
+    public boolean isEmpty(){
68
+        if(mySet.length==0){
69
+            return true;
70
+        }
71
+        else  return false;
72
+    }
73
+
74
+    public int getIndex(E element ) {
75
+
76
+        for (int i = 0; i < this.size(); i++) {
77
+            if (mySet[i].equals(element))
78
+                return i;
79
+        }
80
+        return -1;
81
+    }
82
+
83
+}

+ 26
- 0
src/main/java/SortArray.java 查看文件

@@ -0,0 +1,26 @@
1
+import java.sql.SQLOutput;
2
+
3
+public class SortArray {
4
+
5
+
6
+
7
+    public static void main (String[] args){
8
+        int[] original={-25,17,-75,60,3,2};
9
+
10
+    int temp;
11
+        for(int i=0;i<original.length;i++){
12
+            for(int j=i;j<original.length;j++){
13
+                if(original[i]>original[j]){
14
+                    temp=original[i];
15
+                    original[i]= original[j];
16
+                    original[j]=temp;
17
+                }
18
+            }
19
+            System.out.println(original[i]);
20
+        }
21
+      }
22
+    }
23
+
24
+
25
+
26
+

+ 118
- 0
src/test/java/MyArrayListTest.java 查看文件

@@ -0,0 +1,118 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+import static org.junit.Assert.*;
5
+
6
+public class MyArrayListTest {
7
+
8
+    MyArrayList myArrayList1=new MyArrayList(2);
9
+
10
+
11
+    @Test
12
+    public void sizeTest() {
13
+
14
+
15
+        int expected= 2;
16
+        int actual=myArrayList1.size();
17
+        Assert.assertEquals(expected,actual);
18
+
19
+    }
20
+
21
+    @Test
22
+    public void addTest() {
23
+
24
+        MyArrayList myArrayList1=new MyArrayList(2);
25
+
26
+        myArrayList1.add("sam");
27
+       int expected =3;
28
+       int actual = myArrayList1.size();
29
+        Assert.assertEquals(expected,actual);
30
+
31
+    }
32
+
33
+
34
+    @Test
35
+    public void addTestInt() {
36
+        MyArrayList myArrayList1=new MyArrayList(3);
37
+        myArrayList1.add(5);
38
+        int expected =4;
39
+        int actual = myArrayList1.size();
40
+        Assert.assertEquals(expected,actual);
41
+
42
+    }
43
+
44
+    @Test
45
+    public void addToIndexTest() {
46
+        myArrayList1.add("abhi",5);
47
+        int expected =6;
48
+        int actual = myArrayList1.size();
49
+        Assert.assertEquals(expected,actual);
50
+
51
+
52
+    }
53
+
54
+    @Test
55
+    public void getTest() {
56
+
57
+        MyArrayList myArrayList1=new MyArrayList(3);
58
+    myArrayList1.add(6);
59
+    Object expected =6;
60
+    Object actual= myArrayList1.get(3);
61
+    Assert.assertEquals(expected,actual);
62
+
63
+    }
64
+
65
+    @Test
66
+    public void removeTest() {
67
+        MyArrayList myArrayList1=new MyArrayList(2);
68
+        myArrayList1.add(3);
69
+        myArrayList1.add("sim");
70
+        myArrayList1.remove("sim");
71
+        int expected =3;
72
+        int actual = myArrayList1.size();
73
+        System.out.println(myArrayList1);
74
+        Assert.assertEquals(expected,actual);
75
+
76
+    }
77
+
78
+    @Test
79
+    public void setTest() {
80
+        Object element=2;
81
+        myArrayList1.add(element);
82
+        Assert.assertEquals(2,myArrayList1.set(0,element));
83
+
84
+
85
+    }
86
+
87
+    @Test
88
+    public void clearTest() {
89
+
90
+        MyArrayList myArrayList1=new MyArrayList(2);
91
+        myArrayList1.add(3);
92
+        int expected=0;
93
+        myArrayList1.clear();
94
+        Assert.assertEquals(expected,0);
95
+    }
96
+
97
+    @Test
98
+    public void isEmptyTest() {
99
+        MyArrayList myArrayList1=new MyArrayList(2);
100
+        boolean expected= false;
101
+        boolean actual = myArrayList1.isEmpty();
102
+        Assert.assertEquals(expected,actual);
103
+
104
+    }
105
+
106
+    @Test
107
+    public void containsTest() {
108
+        MyArrayList myArrayList1=new MyArrayList();
109
+        myArrayList1.add(7);
110
+        myArrayList1.add("ladi");
111
+      boolean actual=  myArrayList1.contains(7);
112
+      boolean expected =true;
113
+      Assert.assertEquals(expected,actual);
114
+
115
+    }
116
+
117
+
118
+}

+ 78
- 0
src/test/java/MyMapTest.java 查看文件

@@ -0,0 +1,78 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+import static org.junit.Assert.*;
5
+
6
+public class MyMapTest {
7
+
8
+    MyMap<Object, Object> myMap=new MyMap<>();
9
+
10
+
11
+    @Test
12
+    public void size() {
13
+        myMap.put(2,"sam");
14
+        int expected=1;
15
+        int actual= myMap.size();
16
+        Assert.assertEquals(expected,actual);
17
+
18
+    }
19
+
20
+    @Test
21
+    public void clear() {
22
+
23
+        myMap.clear();
24
+        boolean expected =true;
25
+        boolean actual= myMap.isEmpty();
26
+        Assert.assertEquals(expected,actual);
27
+
28
+    }
29
+
30
+    @Test
31
+    public void containsKey() {
32
+        myMap.put(1,23);
33
+        boolean actual= myMap.containsKey(1);
34
+        boolean expected =true;
35
+        Assert.assertEquals(expected,actual);
36
+    }
37
+
38
+    @Test
39
+    public void containsValue() {
40
+
41
+        myMap.put(1,23);
42
+        boolean actual= myMap.containsValue(23);
43
+        boolean expected =true;
44
+        Assert.assertEquals(expected,actual);
45
+    }
46
+
47
+    @Test
48
+    public void get() {
49
+        myMap.put(4,"sam");
50
+        String expected= "sam";
51
+        String actual= (String) myMap.get(4);
52
+        Assert.assertEquals(expected,actual);
53
+
54
+    }
55
+
56
+    @Test
57
+    public void isEmpty() {
58
+
59
+        myMap.clear();
60
+        boolean expected =true;
61
+        boolean actual= myMap.isEmpty();
62
+        Assert.assertEquals(expected,actual);
63
+
64
+    }
65
+
66
+    @Test
67
+    public void put() {
68
+        myMap.put(2,"sam");
69
+        int expected = 1;
70
+        int actual= myMap.size();
71
+        Assert.assertEquals(expected,actual);
72
+
73
+    }
74
+
75
+    @Test
76
+    public void remove() {
77
+    }
78
+}

+ 93
- 0
src/test/java/MySetTest.java 查看文件

@@ -0,0 +1,93 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+import static org.junit.Assert.*;
5
+
6
+public class MySetTest {
7
+
8
+    @Test
9
+    public void size() {
10
+
11
+        MySet mySet= new MySet();
12
+        int expected= 0;
13
+        int actual=mySet.size();
14
+        Assert.assertEquals(expected,actual);
15
+    }
16
+
17
+    @Test
18
+    public void size1() {
19
+
20
+        MySet mySet= new MySet(3);
21
+        int expected= 3;
22
+        int actual=mySet.size();
23
+        Assert.assertEquals(expected,actual);
24
+    }
25
+
26
+
27
+    @Test
28
+    public void add() {
29
+        MySet mySet= new MySet(3);
30
+
31
+        mySet.add("sam");
32
+        int expected =4;
33
+        int actual = mySet.size();
34
+        Assert.assertEquals(expected,actual);
35
+
36
+    }
37
+
38
+    @Test
39
+    public void addAll() {
40
+    }
41
+
42
+    @Test
43
+    public void clear() {
44
+        MySet mySet= new MySet(3);
45
+        mySet.add(3);
46
+        int expected=0;
47
+        mySet.clear();
48
+        Assert.assertEquals(expected,0);
49
+
50
+    }
51
+
52
+    @Test
53
+    public void get() {
54
+
55
+        MySet mySet= new MySet(3);
56
+        mySet.add(6);
57
+        Object expected =6;
58
+        Object actual= mySet.get(3);
59
+        Assert.assertEquals(expected,actual);
60
+    }
61
+
62
+    @Test
63
+    public void contains() {
64
+
65
+        MySet mySet= new MySet(0);
66
+        mySet.add(7);
67
+        mySet.add("ladi");
68
+        boolean actual=  mySet.contains(7);
69
+        boolean expected =true;
70
+        Assert.assertEquals(expected,actual);
71
+    }
72
+
73
+    @Test
74
+    public void remove() {
75
+    }
76
+
77
+    @Test
78
+    public void isEmpty() {
79
+
80
+        MySet mySet= new MySet(3);
81
+        boolean expected= false;
82
+        boolean actual = mySet.isEmpty();
83
+        Assert.assertEquals(expected,actual);
84
+    }
85
+
86
+
87
+    @Test
88
+    public void getIndexTest(){
89
+        MyArrayList myArrayList1=new MyArrayList();
90
+
91
+
92
+    }
93
+}