nafis nibir 6 年 前
コミット
94ca88eccd

+ 1
- 0
.idea/.name ファイルの表示

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

+ 16
- 0
.idea/compiler.xml ファイルの表示

@@ -0,0 +1,16 @@
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
+    <bytecodeTargetLevel>
13
+      <module name="generics" target="8" />
14
+    </bytecodeTargetLevel>
15
+  </component>
16
+</project>

+ 13
- 0
.idea/libraries/Maven__junit_junit_4_12.xml ファイルの表示

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

+ 13
- 0
.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml ファイルの表示

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

+ 13
- 0
.idea/misc.xml ファイルの表示

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

+ 8
- 0
.idea/modules.xml ファイルの表示

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

+ 535
- 0
.idea/workspace.xml ファイルの表示

@@ -0,0 +1,535 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="3963277c-7c3f-43f5-81ec-6d260afd1592" name="Default" comment="">
5
+      <change afterPath="$PROJECT_DIR$/src/main/java/MyArrayList.java" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/src/test/java/MyArrayListTest.java" afterDir="false" />
7
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
8
+      <change beforePath="$PROJECT_DIR$/src/main/java/.deleteme" beforeDir="false" />
9
+      <change beforePath="$PROJECT_DIR$/src/test/java/.deleteme" beforeDir="false" />
10
+    </list>
11
+    <ignored path="$PROJECT_DIR$/target/" />
12
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
13
+    <option name="TRACKING_ENABLED" value="true" />
14
+    <option name="SHOW_DIALOG" value="false" />
15
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
16
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
17
+    <option name="LAST_RESOLUTION" value="IGNORE" />
18
+  </component>
19
+  <component name="FileEditorManager">
20
+    <splitter split-orientation="horizontal" split-proportion="0.52978724">
21
+      <split-first>
22
+        <leaf>
23
+          <file leaf-file-name="MyArrayList.java" pinned="false" current-in-tab="true">
24
+            <entry file="file://$PROJECT_DIR$/src/main/java/MyArrayList.java">
25
+              <provider selected="true" editor-type-id="text-editor">
26
+                <state relative-caret-position="427">
27
+                  <caret line="36" column="25" lean-forward="true" selection-start-line="36" selection-start-column="25" selection-end-line="36" selection-end-column="25" />
28
+                  <folding>
29
+                    <element signature="imports" expanded="true" />
30
+                    <element signature="e#822#823#0" expanded="true" />
31
+                  </folding>
32
+                </state>
33
+              </provider>
34
+            </entry>
35
+          </file>
36
+          <file leaf-file-name="ArrayList.java" pinned="false" current-in-tab="false">
37
+            <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/src.zip!/java/util/ArrayList.java">
38
+              <provider selected="true" editor-type-id="text-editor">
39
+                <state relative-caret-position="-2">
40
+                  <caret line="222" column="15" selection-start-line="222" selection-start-column="15" selection-end-line="222" selection-end-column="15" />
41
+                </state>
42
+              </provider>
43
+            </entry>
44
+          </file>
45
+        </leaf>
46
+      </split-first>
47
+      <split-second>
48
+        <leaf>
49
+          <file leaf-file-name="MyArrayListTest.java" pinned="false" current-in-tab="true">
50
+            <entry file="file://$PROJECT_DIR$/src/test/java/MyArrayListTest.java">
51
+              <provider selected="true" editor-type-id="text-editor">
52
+                <state relative-caret-position="331">
53
+                  <caret line="48" column="20" selection-start-line="48" selection-start-column="20" selection-end-line="48" selection-end-column="20" />
54
+                  <folding>
55
+                    <element signature="imports" expanded="true" />
56
+                    <element signature="e#184#193#0" expanded="true" />
57
+                  </folding>
58
+                </state>
59
+              </provider>
60
+            </entry>
61
+          </file>
62
+        </leaf>
63
+      </split-second>
64
+    </splitter>
65
+  </component>
66
+  <component name="FileTemplateManagerImpl">
67
+    <option name="RECENT_TEMPLATES">
68
+      <list>
69
+        <option value="Class" />
70
+      </list>
71
+    </option>
72
+  </component>
73
+  <component name="Git.Settings">
74
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
75
+  </component>
76
+  <component name="IdeDocumentHistory">
77
+    <option name="CHANGED_PATHS">
78
+      <list>
79
+        <option value="$PROJECT_DIR$/src/main/java/MyArrayList.java" />
80
+        <option value="$PROJECT_DIR$/src/test/java/MyArrayListTest.java" />
81
+      </list>
82
+    </option>
83
+  </component>
84
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
85
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
86
+  <component name="JsGulpfileManager">
87
+    <detection-done>true</detection-done>
88
+    <sorting>DEFINITION_ORDER</sorting>
89
+  </component>
90
+  <component name="NodePackageJsonFileManager">
91
+    <packageJsonPaths />
92
+  </component>
93
+  <component name="ProjectFrameBounds">
94
+    <option name="x" value="-208" />
95
+    <option name="y" value="-927" />
96
+    <option name="width" value="1881" />
97
+    <option name="height" value="941" />
98
+  </component>
99
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true">
100
+    <ConfirmationsSetting value="2" id="Add" />
101
+  </component>
102
+  <component name="ProjectView">
103
+    <navigator proportions="" version="1">
104
+      <foldersAlwaysOnTop value="true" />
105
+    </navigator>
106
+    <panes>
107
+      <pane id="PackagesPane" />
108
+      <pane id="Scope" />
109
+      <pane id="ProjectPane">
110
+        <subPane>
111
+          <expand>
112
+            <path>
113
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
114
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
115
+            </path>
116
+            <path>
117
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
118
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
119
+              <item name="src" type="462c0819:PsiDirectoryNode" />
120
+            </path>
121
+            <path>
122
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
123
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
124
+              <item name="src" type="462c0819:PsiDirectoryNode" />
125
+              <item name="main" type="462c0819:PsiDirectoryNode" />
126
+            </path>
127
+            <path>
128
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
129
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
130
+              <item name="src" type="462c0819:PsiDirectoryNode" />
131
+              <item name="main" type="462c0819:PsiDirectoryNode" />
132
+              <item name="java" type="462c0819:PsiDirectoryNode" />
133
+            </path>
134
+            <path>
135
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
136
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
137
+              <item name="src" type="462c0819:PsiDirectoryNode" />
138
+              <item name="test" type="462c0819:PsiDirectoryNode" />
139
+            </path>
140
+            <path>
141
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
142
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
143
+              <item name="src" type="462c0819:PsiDirectoryNode" />
144
+              <item name="test" type="462c0819:PsiDirectoryNode" />
145
+              <item name="java" type="462c0819:PsiDirectoryNode" />
146
+            </path>
147
+          </expand>
148
+          <select />
149
+        </subPane>
150
+      </pane>
151
+      <pane id="AndroidView" />
152
+    </panes>
153
+  </component>
154
+  <component name="PropertiesComponent">
155
+    <property name="WebServerToolWindowFactoryState" value="false" />
156
+    <property name="aspect.path.notification.shown" value="true" />
157
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
158
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
159
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
160
+    <property name="project.structure.last.edited" value="Modules" />
161
+    <property name="project.structure.proportion" value="0.0" />
162
+    <property name="project.structure.side.proportion" value="0.0" />
163
+    <property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
164
+  </component>
165
+  <component name="RecentsManager">
166
+    <key name="CreateClassDialog.RecentsKey">
167
+      <recent name="" />
168
+    </key>
169
+  </component>
170
+  <component name="RunDashboard">
171
+    <option name="ruleStates">
172
+      <list>
173
+        <RuleState>
174
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
175
+        </RuleState>
176
+        <RuleState>
177
+          <option name="name" value="StatusDashboardGroupingRule" />
178
+        </RuleState>
179
+      </list>
180
+    </option>
181
+  </component>
182
+  <component name="RunManager" selected="JUnit.MyArrayListTest.get2Test">
183
+    <configuration default="true" type="Application" factoryName="Application">
184
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
185
+    </configuration>
186
+    <configuration name="MyArrayListTest.add1Test" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
187
+      <module name="generics" />
188
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
189
+      <option name="ALTERNATIVE_JRE_PATH" />
190
+      <option name="PACKAGE_NAME" value="" />
191
+      <option name="MAIN_CLASS_NAME" value="MyArrayListTest" />
192
+      <option name="METHOD_NAME" value="add1Test" />
193
+      <option name="TEST_OBJECT" value="method" />
194
+      <option name="VM_PARAMETERS" value="-ea" />
195
+      <option name="PARAMETERS" />
196
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
197
+      <option name="PASS_PARENT_ENVS" value="true" />
198
+      <option name="TEST_SEARCH_SCOPE">
199
+        <value defaultName="singleModule" />
200
+      </option>
201
+      <patterns />
202
+    </configuration>
203
+    <configuration name="MyArrayListTest.addTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
204
+      <module name="generics" />
205
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
206
+      <option name="ALTERNATIVE_JRE_PATH" />
207
+      <option name="PACKAGE_NAME" value="" />
208
+      <option name="MAIN_CLASS_NAME" value="MyArrayListTest" />
209
+      <option name="METHOD_NAME" value="addTest" />
210
+      <option name="TEST_OBJECT" value="method" />
211
+      <option name="VM_PARAMETERS" value="-ea" />
212
+      <option name="PARAMETERS" />
213
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
214
+      <option name="PASS_PARENT_ENVS" value="true" />
215
+      <option name="TEST_SEARCH_SCOPE">
216
+        <value defaultName="singleModule" />
217
+      </option>
218
+      <patterns />
219
+    </configuration>
220
+    <configuration name="MyArrayListTest.get1Test" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
221
+      <module name="generics" />
222
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
223
+      <option name="ALTERNATIVE_JRE_PATH" />
224
+      <option name="PACKAGE_NAME" value="" />
225
+      <option name="MAIN_CLASS_NAME" value="MyArrayListTest" />
226
+      <option name="METHOD_NAME" value="get1Test" />
227
+      <option name="TEST_OBJECT" value="method" />
228
+      <option name="VM_PARAMETERS" value="-ea" />
229
+      <option name="PARAMETERS" />
230
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
231
+      <option name="PASS_PARENT_ENVS" value="true" />
232
+      <option name="TEST_SEARCH_SCOPE">
233
+        <value defaultName="singleModule" />
234
+      </option>
235
+      <patterns />
236
+    </configuration>
237
+    <configuration name="MyArrayListTest.get2Test" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
238
+      <module name="generics" />
239
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
240
+      <option name="ALTERNATIVE_JRE_PATH" />
241
+      <option name="PACKAGE_NAME" value="" />
242
+      <option name="MAIN_CLASS_NAME" value="MyArrayListTest" />
243
+      <option name="METHOD_NAME" value="get2Test" />
244
+      <option name="TEST_OBJECT" value="method" />
245
+      <option name="VM_PARAMETERS" value="-ea" />
246
+      <option name="PARAMETERS" />
247
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
248
+      <option name="PASS_PARENT_ENVS" value="true" />
249
+      <option name="TEST_SEARCH_SCOPE">
250
+        <value defaultName="singleModule" />
251
+      </option>
252
+      <patterns />
253
+    </configuration>
254
+    <configuration name="MyArrayListTest.getTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
255
+      <module name="generics" />
256
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
257
+      <option name="ALTERNATIVE_JRE_PATH" />
258
+      <option name="PACKAGE_NAME" value="" />
259
+      <option name="MAIN_CLASS_NAME" value="MyArrayListTest" />
260
+      <option name="METHOD_NAME" value="getTest" />
261
+      <option name="TEST_OBJECT" value="method" />
262
+      <option name="VM_PARAMETERS" value="-ea" />
263
+      <option name="PARAMETERS" />
264
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
265
+      <option name="PASS_PARENT_ENVS" value="true" />
266
+      <option name="TEST_SEARCH_SCOPE">
267
+        <value defaultName="singleModule" />
268
+      </option>
269
+      <patterns />
270
+    </configuration>
271
+    <configuration default="true" type="JUnit" factoryName="JUnit">
272
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
273
+      <option name="ALTERNATIVE_JRE_PATH" />
274
+      <option name="PACKAGE_NAME" />
275
+      <option name="MAIN_CLASS_NAME" />
276
+      <option name="METHOD_NAME" />
277
+      <option name="TEST_OBJECT" value="class" />
278
+      <option name="VM_PARAMETERS" value="-ea" />
279
+      <option name="PARAMETERS" />
280
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
281
+      <option name="PASS_PARENT_ENVS" value="true" />
282
+      <option name="TEST_SEARCH_SCOPE">
283
+        <value defaultName="singleModule" />
284
+      </option>
285
+      <patterns />
286
+    </configuration>
287
+    <configuration default="true" type="TestNG" factoryName="TestNG">
288
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
289
+      <option name="ALTERNATIVE_JRE_PATH" />
290
+      <option name="SUITE_NAME" />
291
+      <option name="PACKAGE_NAME" />
292
+      <option name="MAIN_CLASS_NAME" />
293
+      <option name="METHOD_NAME" />
294
+      <option name="GROUP_NAME" />
295
+      <option name="TEST_OBJECT" value="CLASS" />
296
+      <option name="VM_PARAMETERS" value="-ea" />
297
+      <option name="PARAMETERS" />
298
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
299
+      <option name="OUTPUT_DIRECTORY" />
300
+      <option name="PASS_PARENT_ENVS" value="true" />
301
+      <option name="TEST_SEARCH_SCOPE">
302
+        <value defaultName="singleModule" />
303
+      </option>
304
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
305
+      <option name="PROPERTIES_FILE" />
306
+      <properties />
307
+      <listeners />
308
+    </configuration>
309
+    <list>
310
+      <item itemvalue="JUnit.MyArrayListTest.addTest" />
311
+      <item itemvalue="JUnit.MyArrayListTest.add1Test" />
312
+      <item itemvalue="JUnit.MyArrayListTest.getTest" />
313
+      <item itemvalue="JUnit.MyArrayListTest.get1Test" />
314
+      <item itemvalue="JUnit.MyArrayListTest.get2Test" />
315
+    </list>
316
+    <recent_temporary>
317
+      <list>
318
+        <item itemvalue="JUnit.MyArrayListTest.get2Test" />
319
+        <item itemvalue="JUnit.MyArrayListTest.get1Test" />
320
+        <item itemvalue="JUnit.MyArrayListTest.getTest" />
321
+        <item itemvalue="JUnit.MyArrayListTest.add1Test" />
322
+        <item itemvalue="JUnit.MyArrayListTest.addTest" />
323
+      </list>
324
+    </recent_temporary>
325
+  </component>
326
+  <component name="SvnConfiguration">
327
+    <configuration />
328
+  </component>
329
+  <component name="TaskManager">
330
+    <task active="true" id="Default" summary="Default task">
331
+      <changelist id="3963277c-7c3f-43f5-81ec-6d260afd1592" name="Default" comment="" />
332
+      <created>1530106571709</created>
333
+      <option name="number" value="Default" />
334
+      <option name="presentableId" value="Default" />
335
+      <updated>1530106571709</updated>
336
+      <workItem from="1530106581652" duration="58000" />
337
+      <workItem from="1530122909636" duration="7331000" />
338
+    </task>
339
+    <servers />
340
+  </component>
341
+  <component name="TestHistory">
342
+    <history-entry file="MyArrayListTest_addTest - 2018.06.27 at 15h 18m 29s.xml">
343
+      <configuration name="MyArrayListTest.addTest" configurationId="JUnit" />
344
+    </history-entry>
345
+    <history-entry file="MyArrayListTest_addTest - 2018.06.27 at 15h 27m 44s.xml">
346
+      <configuration name="MyArrayListTest.addTest" configurationId="JUnit" />
347
+    </history-entry>
348
+    <history-entry file="MyArrayListTest_addTest - 2018.06.27 at 16h 19m 58s.xml">
349
+      <configuration name="MyArrayListTest.addTest" configurationId="JUnit" />
350
+    </history-entry>
351
+    <history-entry file="MyArrayListTest_addTest - 2018.06.27 at 16h 20m 02s.xml">
352
+      <configuration name="MyArrayListTest.addTest" configurationId="JUnit" />
353
+    </history-entry>
354
+    <history-entry file="MyArrayListTest_addTest - 2018.06.27 at 16h 20m 06s.xml">
355
+      <configuration name="MyArrayListTest.addTest" configurationId="JUnit" />
356
+    </history-entry>
357
+    <history-entry file="MyArrayListTest_add1Test - 2018.06.27 at 16h 22m 27s.xml">
358
+      <configuration name="MyArrayListTest.add1Test" configurationId="JUnit" />
359
+    </history-entry>
360
+    <history-entry file="MyArrayListTest_getTest - 2018.06.27 at 16h 37m 49s.xml">
361
+      <configuration name="MyArrayListTest.getTest" configurationId="JUnit" />
362
+    </history-entry>
363
+    <history-entry file="MyArrayListTest_getTest - 2018.06.27 at 16h 39m 28s.xml">
364
+      <configuration name="MyArrayListTest.getTest" configurationId="JUnit" />
365
+    </history-entry>
366
+    <history-entry file="MyArrayListTest_get1Test - 2018.06.27 at 16h 39m 58s.xml">
367
+      <configuration name="MyArrayListTest.get1Test" configurationId="JUnit" />
368
+    </history-entry>
369
+    <history-entry file="MyArrayListTest_get1Test - 2018.06.27 at 16h 40m 04s.xml">
370
+      <configuration name="MyArrayListTest.get1Test" configurationId="JUnit" />
371
+    </history-entry>
372
+  </component>
373
+  <component name="TimeTrackingManager">
374
+    <option name="totallyTimeSpent" value="7389000" />
375
+  </component>
376
+  <component name="ToolWindowManager">
377
+    <frame x="-208" y="-927" width="1881" height="941" extended-state="0" />
378
+    <editor active="true" />
379
+    <layout>
380
+      <window_info anchor="right" id="Palette" order="3" />
381
+      <window_info anchor="bottom" id="TODO" order="6" />
382
+      <window_info anchor="bottom" id="Messages" weight="0.06942753" />
383
+      <window_info anchor="right" id="Palette&#9;" order="3" />
384
+      <window_info id="Image Layers" order="2" />
385
+      <window_info anchor="right" id="Capture Analysis" order="3" />
386
+      <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
387
+      <window_info anchor="right" id="Maven Projects" order="3" />
388
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
389
+      <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.32886723" />
390
+      <window_info anchor="bottom" id="Version Control" order="7" />
391
+      <window_info anchor="bottom" id="Terminal" order="7" />
392
+      <window_info id="Capture Tool" order="2" />
393
+      <window_info id="Designer" order="2" />
394
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.23327896" />
395
+      <window_info anchor="right" id="Database" order="3" />
396
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
397
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
398
+      <window_info id="UI Designer" order="2" />
399
+      <window_info anchor="right" id="Theme Preview" order="3" />
400
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
401
+      <window_info id="Favorites" order="2" side_tool="true" />
402
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
403
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
404
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
405
+      <window_info anchor="bottom" id="Message" order="0" />
406
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
407
+      <window_info anchor="bottom" id="Find" order="1" />
408
+    </layout>
409
+  </component>
410
+  <component name="TypeScriptGeneratedFilesManager">
411
+    <option name="version" value="1" />
412
+  </component>
413
+  <component name="VcsContentAnnotationSettings">
414
+    <option name="myLimit" value="2678400000" />
415
+  </component>
416
+  <component name="editorHistoryManager">
417
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/src.zip!/java/util/ArrayList.java">
418
+      <provider selected="true" editor-type-id="text-editor">
419
+        <state relative-caret-position="-2">
420
+          <caret line="222" column="15" selection-start-line="222" selection-start-column="15" selection-end-line="222" selection-end-column="15" />
421
+        </state>
422
+      </provider>
423
+    </entry>
424
+    <entry file="file://$PROJECT_DIR$/src/main/java/MyArrayList.java">
425
+      <provider selected="true" editor-type-id="text-editor">
426
+        <state relative-caret-position="427">
427
+          <caret line="36" column="25" lean-forward="true" selection-start-line="36" selection-start-column="25" selection-end-line="36" selection-end-column="25" />
428
+          <folding>
429
+            <element signature="imports" expanded="true" />
430
+            <element signature="e#822#823#0" expanded="true" />
431
+          </folding>
432
+        </state>
433
+      </provider>
434
+    </entry>
435
+    <entry file="file://$PROJECT_DIR$/src/test/java/MyArrayListTest.java">
436
+      <provider selected="true" editor-type-id="text-editor">
437
+        <state relative-caret-position="331">
438
+          <caret line="48" column="20" selection-start-line="48" selection-start-column="20" selection-end-line="48" selection-end-column="20" />
439
+          <folding>
440
+            <element signature="imports" expanded="true" />
441
+            <element signature="e#184#193#0" expanded="true" />
442
+          </folding>
443
+        </state>
444
+      </provider>
445
+    </entry>
446
+  </component>
447
+  <component name="masterDetails">
448
+    <states>
449
+      <state key="ArtifactsStructureConfigurable.UI">
450
+        <settings>
451
+          <artifact-editor />
452
+          <splitter-proportions>
453
+            <option name="proportions">
454
+              <list>
455
+                <option value="0.2" />
456
+              </list>
457
+            </option>
458
+          </splitter-proportions>
459
+        </settings>
460
+      </state>
461
+      <state key="FacetStructureConfigurable.UI">
462
+        <settings>
463
+          <last-edited>No facets are configured</last-edited>
464
+          <splitter-proportions>
465
+            <option name="proportions">
466
+              <list>
467
+                <option value="0.2" />
468
+              </list>
469
+            </option>
470
+          </splitter-proportions>
471
+        </settings>
472
+      </state>
473
+      <state key="GlobalLibrariesConfigurable.UI">
474
+        <settings>
475
+          <splitter-proportions>
476
+            <option name="proportions">
477
+              <list>
478
+                <option value="0.2" />
479
+              </list>
480
+            </option>
481
+          </splitter-proportions>
482
+        </settings>
483
+      </state>
484
+      <state key="JdkListConfigurable.UI">
485
+        <settings>
486
+          <last-edited>1.8</last-edited>
487
+          <splitter-proportions>
488
+            <option name="proportions">
489
+              <list>
490
+                <option value="0.2" />
491
+              </list>
492
+            </option>
493
+          </splitter-proportions>
494
+        </settings>
495
+      </state>
496
+      <state key="ModuleStructureConfigurable.UI">
497
+        <settings>
498
+          <last-edited>generics</last-edited>
499
+          <splitter-proportions>
500
+            <option name="proportions">
501
+              <list>
502
+                <option value="0.2" />
503
+                <option value="0.6" />
504
+              </list>
505
+            </option>
506
+          </splitter-proportions>
507
+        </settings>
508
+      </state>
509
+      <state key="ProjectJDKs.UI">
510
+        <settings>
511
+          <last-edited>1.8</last-edited>
512
+          <splitter-proportions>
513
+            <option name="proportions">
514
+              <list>
515
+                <option value="0.2" />
516
+              </list>
517
+            </option>
518
+          </splitter-proportions>
519
+        </settings>
520
+      </state>
521
+      <state key="ProjectLibrariesConfigurable.UI">
522
+        <settings>
523
+          <last-edited>Maven: junit:junit:4.12</last-edited>
524
+          <splitter-proportions>
525
+            <option name="proportions">
526
+              <list>
527
+                <option value="0.2" />
528
+              </list>
529
+            </option>
530
+          </splitter-proportions>
531
+        </settings>
532
+      </state>
533
+    </states>
534
+  </component>
535
+</project>

+ 16
- 0
generics.iml ファイルの表示

@@ -0,0 +1,16 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
4
+    <output url="file://$MODULE_DIR$/target/classes" />
5
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
+    <content url="file://$MODULE_DIR$">
7
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
+      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
9
+      <excludeFolder url="file://$MODULE_DIR$/target" />
10
+    </content>
11
+    <orderEntry type="inheritedJdk" />
12
+    <orderEntry type="sourceFolder" forTests="false" />
13
+    <orderEntry type="library" name="Maven: junit:junit:4.12" level="project" />
14
+    <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
15
+  </component>
16
+</module>

+ 2
- 2
pom.xml ファイルの表示

@@ -13,8 +13,8 @@
13 13
                 <groupId>org.apache.maven.plugins</groupId>
14 14
                 <artifactId>maven-compiler-plugin</artifactId>
15 15
                 <configuration>
16
-                    <source>1.7</source>
17
-                    <target>1.7</target>
16
+                    <source>8</source>
17
+                    <target>8</target>
18 18
                 </configuration>
19 19
             </plugin>
20 20
         </plugins>

+ 0
- 0
src/main/java/.deleteme ファイルの表示


+ 40
- 0
src/main/java/MyArrayList.java ファイルの表示

@@ -0,0 +1,40 @@
1
+import java.util.ArrayList;
2
+import java.util.Arrays;
3
+
4
+public class MyArrayList <T>{
5
+
6
+    private Object[] element = new Object[10];
7
+
8
+    public MyArrayList() {
9
+
10
+    }
11
+
12
+    public void add(T i) {
13
+        checkCurrentCap();
14
+        int index = 0;
15
+        for (Object o : element) {
16
+            if (o == null) {
17
+                element[index] = i;
18
+                break;
19
+            }
20
+            index++;
21
+        }
22
+    }
23
+
24
+    public void checkCurrentCap(){
25
+        if (!(element[element.length-1] == null)){
26
+            element = new Object[element.length*2];
27
+        }
28
+    }
29
+
30
+    public int size(){
31
+        long size = Arrays.stream(element)
32
+                          .filter(s -> (s != null))
33
+                          .count();
34
+        return (int) size;
35
+    }
36
+
37
+    public T get(int i) {
38
+        return (T)element[i];
39
+    }
40
+}

+ 0
- 0
src/test/java/.deleteme ファイルの表示


+ 84
- 0
src/test/java/MyArrayListTest.java ファイルの表示

@@ -0,0 +1,84 @@
1
+import org.junit.Assert;
2
+import org.junit.Before;
3
+import org.junit.Test;
4
+
5
+public class MyArrayListTest {
6
+
7
+    @Test
8
+    public void addTest(){
9
+        //Integer[] input = {1, 2, 4, 5, 6, 7};
10
+        MyArrayList<Integer> myArrayList = new MyArrayList<Integer>();
11
+        myArrayList.add(1);
12
+        myArrayList.add(2);
13
+        int expected = 2;
14
+        int actual = myArrayList.size();
15
+        Assert.assertEquals(expected, actual);
16
+    }
17
+
18
+    @Test
19
+    public void add1Test(){
20
+        //Integer[] input = {1, 2, 4, 5, 6, 7};
21
+        MyArrayList<String> myArrayList = new MyArrayList<>();
22
+        myArrayList.add("rachelle");
23
+        myArrayList.add("chad");
24
+        int expected = 2;
25
+        int actual = myArrayList.size();
26
+        Assert.assertEquals(expected, actual);
27
+    }
28
+
29
+
30
+
31
+    @Test
32
+    public void getTest(){
33
+        MyArrayList<Integer> myArrayList = new MyArrayList<>();
34
+        myArrayList.add(2);
35
+        Integer expected = 2;
36
+        Integer actual = myArrayList.get(0);
37
+        Assert.assertEquals(expected, actual);
38
+    }
39
+
40
+    @Test
41
+    public void get1Test(){
42
+        MyArrayList<Integer> myArrayList = new MyArrayList<>();
43
+        myArrayList.add(2);
44
+        Integer actual = myArrayList.get(1);
45
+        Assert.assertNull(actual);
46
+    }
47
+
48
+    @Test (expected = ArrayIndexOutOfBoundsException.class)
49
+    public void get2Test(){
50
+        MyArrayList<Integer> myArrayList = new MyArrayList<>();
51
+        myArrayList.add(2);
52
+        Integer actual = myArrayList.get(11);
53
+    }
54
+
55
+    @Test
56
+    public void removeTest(){
57
+
58
+    }
59
+
60
+    @Test
61
+    public void setTest(){
62
+
63
+    }
64
+
65
+    @Test
66
+    public void clearTest(){
67
+
68
+    }
69
+
70
+    @Test
71
+    public void isEmptyTest(){
72
+
73
+    }
74
+
75
+    @Test
76
+    public void containsTest(){
77
+
78
+    }
79
+
80
+    @Test
81
+    public void sizeTest(){
82
+
83
+    }
84
+}