#28 Kate Moore

Open
katelynne wants to merge 1 commits from katelynne/CR-MicroLabs-Generics-MyArrayList:master into master

+ 1
- 0
.idea/.name View File

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

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

@@ -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="1.7" />
14
+    </bytecodeTargetLevel>
15
+  </component>
16
+</project>

+ 13
- 0
.idea/libraries/Maven__junit_junit_4_12.xml View File

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

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

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

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

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

+ 632
- 0
.idea/workspace.xml View File

@@ -0,0 +1,632 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="d5381189-8f3d-4593-9df6-5cc5a0066dc5" name="Default Changelist" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__junit_junit_4_12.xml" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
10
+      <change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
11
+      <change afterPath="$PROJECT_DIR$/generics.iml" afterDir="false" />
12
+      <change afterPath="$PROJECT_DIR$/src/main/java/MyArrayList.java" afterDir="false" />
13
+      <change afterPath="$PROJECT_DIR$/src/main/java/MyMap.java" afterDir="false" />
14
+      <change afterPath="$PROJECT_DIR$/src/main/java/MySet.java" afterDir="false" />
15
+      <change afterPath="$PROJECT_DIR$/src/test/java/MyArrayListTest.java" afterDir="false" />
16
+      <change afterPath="$PROJECT_DIR$/src/test/java/MyMapTest.java" afterDir="false" />
17
+      <change afterPath="$PROJECT_DIR$/src/test/java/MySetTest.java" afterDir="false" />
18
+    </list>
19
+    <ignored path="$PROJECT_DIR$/target/" />
20
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
21
+    <option name="SHOW_DIALOG" value="false" />
22
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
23
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
24
+    <option name="LAST_RESOLUTION" value="IGNORE" />
25
+  </component>
26
+  <component name="FUSProjectUsageTrigger">
27
+    <session id="1343139452">
28
+      <usages-collector id="statistics.lifecycle.project">
29
+        <counts>
30
+          <entry key="project.closed" value="3" />
31
+          <entry key="project.open.time.1" value="2" />
32
+          <entry key="project.open.time.2" value="1" />
33
+          <entry key="project.opened" value="3" />
34
+        </counts>
35
+      </usages-collector>
36
+      <usages-collector id="statistics.file.extensions.open">
37
+        <counts>
38
+          <entry key="deleteme" value="1" />
39
+          <entry key="java" value="3" />
40
+          <entry key="md" value="1" />
41
+        </counts>
42
+      </usages-collector>
43
+      <usages-collector id="statistics.file.types.open">
44
+        <counts>
45
+          <entry key="JAVA" value="3" />
46
+          <entry key="Markdown" value="1" />
47
+          <entry key="PLAIN_TEXT" value="1" />
48
+        </counts>
49
+      </usages-collector>
50
+      <usages-collector id="statistics.file.extensions.edit">
51
+        <counts>
52
+          <entry key="java" value="2700" />
53
+        </counts>
54
+      </usages-collector>
55
+      <usages-collector id="statistics.file.types.edit">
56
+        <counts>
57
+          <entry key="JAVA" value="2700" />
58
+        </counts>
59
+      </usages-collector>
60
+      <usages-collector id="statistics.spring.boot.run.usages" />
61
+      <usages-collector id="statistics.spring.boot.mvc.usages" />
62
+      <usages-collector id="statistics.vcs.git.usages" />
63
+      <usages-collector id="statistics.js.language.service.starts" />
64
+    </session>
65
+    <session id="-574306856">
66
+      <usages-collector id="statistics.lifecycle.project">
67
+        <counts>
68
+          <entry key="project.closed" value="10" />
69
+          <entry key="project.open.time.1" value="3" />
70
+          <entry key="project.open.time.13" value="1" />
71
+          <entry key="project.open.time.17" value="1" />
72
+          <entry key="project.open.time.2" value="3" />
73
+          <entry key="project.open.time.3" value="2" />
74
+          <entry key="project.opened" value="10" />
75
+        </counts>
76
+      </usages-collector>
77
+      <usages-collector id="statistics.file.extensions.edit">
78
+        <counts>
79
+          <entry key="java" value="5616" />
80
+        </counts>
81
+      </usages-collector>
82
+      <usages-collector id="statistics.file.types.edit">
83
+        <counts>
84
+          <entry key="JAVA" value="5616" />
85
+        </counts>
86
+      </usages-collector>
87
+      <usages-collector id="statistics.file.extensions.open">
88
+        <counts>
89
+          <entry key="class" value="3" />
90
+          <entry key="java" value="7" />
91
+        </counts>
92
+      </usages-collector>
93
+      <usages-collector id="statistics.file.types.open">
94
+        <counts>
95
+          <entry key="CLASS" value="3" />
96
+          <entry key="JAVA" value="7" />
97
+        </counts>
98
+      </usages-collector>
99
+    </session>
100
+  </component>
101
+  <component name="FileColors">
102
+    <fileColor scope="All" color="Blue" />
103
+  </component>
104
+  <component name="FileEditorManager">
105
+    <splitter split-orientation="horizontal" split-proportion="0.46239838">
106
+      <split-first>
107
+        <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
108
+          <file pinned="false" current-in-tab="false">
109
+            <entry file="file://$PROJECT_DIR$/src/test/java/MyArrayListTest.java">
110
+              <provider selected="true" editor-type-id="text-editor">
111
+                <state relative-caret-position="165">
112
+                  <caret line="11" column="5" selection-start-line="11" selection-start-column="5" selection-end-line="11" selection-end-column="5" />
113
+                  <folding>
114
+                    <element signature="imports" expanded="true" />
115
+                    <element signature="e#172#173#0" expanded="true" />
116
+                    <element signature="e#221#222#0" expanded="true" />
117
+                  </folding>
118
+                </state>
119
+              </provider>
120
+            </entry>
121
+          </file>
122
+          <file pinned="false" current-in-tab="false">
123
+            <entry file="file://$PROJECT_DIR$/src/main/java/MySet.java">
124
+              <provider selected="true" editor-type-id="text-editor">
125
+                <state relative-caret-position="327">
126
+                  <caret line="38" column="14" selection-start-line="38" selection-start-column="14" selection-end-line="38" selection-end-column="14" />
127
+                  <folding>
128
+                    <element signature="e#93#94#0" expanded="true" />
129
+                    <element signature="e#134#135#0" expanded="true" />
130
+                    <element signature="e#164#165#0" expanded="true" />
131
+                    <element signature="e#201#202#0" expanded="true" />
132
+                    <element signature="e#453#454#0" expanded="true" />
133
+                    <element signature="e#496#497#0" expanded="true" />
134
+                    <element signature="e#521#522#0" expanded="true" />
135
+                    <element signature="e#559#560#0" expanded="true" />
136
+                    <element signature="e#586#587#0" expanded="true" />
137
+                    <element signature="e#627#628#0" expanded="true" />
138
+                    <element signature="e#726#727#0" expanded="true" />
139
+                    <element signature="e#767#768#0" expanded="true" />
140
+                  </folding>
141
+                </state>
142
+              </provider>
143
+            </entry>
144
+          </file>
145
+          <file pinned="false" current-in-tab="true">
146
+            <entry file="file://$PROJECT_DIR$/src/main/java/MyMap.java">
147
+              <provider selected="true" editor-type-id="text-editor">
148
+                <state relative-caret-position="434">
149
+                  <caret line="52" column="5" lean-forward="true" selection-start-line="52" selection-start-column="5" selection-end-line="52" selection-end-column="5" />
150
+                  <folding>
151
+                    <element signature="e#291#292#0" expanded="true" />
152
+                    <element signature="e#318#319#0" expanded="true" />
153
+                    <element signature="e#355#356#0" expanded="true" />
154
+                    <element signature="e#384#385#0" expanded="true" />
155
+                    <element signature="e#409#410#0" expanded="true" />
156
+                    <element signature="e#446#447#0" expanded="true" />
157
+                  </folding>
158
+                </state>
159
+              </provider>
160
+            </entry>
161
+          </file>
162
+        </leaf>
163
+      </split-first>
164
+      <split-second>
165
+        <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
166
+          <file pinned="false" current-in-tab="false">
167
+            <entry file="file://$PROJECT_DIR$/src/test/java/MySetTest.java">
168
+              <provider selected="true" editor-type-id="text-editor">
169
+                <state relative-caret-position="697">
170
+                  <caret line="62" column="20" lean-forward="true" selection-start-line="62" selection-start-column="20" selection-end-line="62" selection-end-column="20" />
171
+                  <folding>
172
+                    <element signature="imports" expanded="true" />
173
+                    <element signature="e#193#194#0" expanded="true" />
174
+                    <element signature="e#236#237#0" expanded="true" />
175
+                  </folding>
176
+                </state>
177
+              </provider>
178
+            </entry>
179
+          </file>
180
+          <file pinned="false" current-in-tab="false">
181
+            <entry file="file://$PROJECT_DIR$/src/test/java/MyMapTest.java">
182
+              <provider selected="true" editor-type-id="text-editor">
183
+                <state relative-caret-position="979">
184
+                  <caret line="77" selection-start-line="77" selection-end-line="77" />
185
+                  <folding>
186
+                    <element signature="imports" expanded="true" />
187
+                    <element signature="e#156#157#0" expanded="true" />
188
+                    <element signature="e#199#200#0" expanded="true" />
189
+                  </folding>
190
+                </state>
191
+              </provider>
192
+            </entry>
193
+          </file>
194
+          <file pinned="false" current-in-tab="true">
195
+            <entry file="file://$PROJECT_DIR$/src/main/java/MyArrayList.java">
196
+              <provider selected="true" editor-type-id="text-editor">
197
+                <state relative-caret-position="49">
198
+                  <caret line="15" lean-forward="true" selection-start-line="15" selection-end-line="15" />
199
+                  <folding>
200
+                    <element signature="e#144#145#0" expanded="true" />
201
+                    <element signature="e#176#177#0" expanded="true" />
202
+                    <element signature="e#204#205#0" expanded="true" />
203
+                    <element signature="e#249#250#0" expanded="true" />
204
+                    <element signature="e#273#274#0" expanded="true" />
205
+                    <element signature="e#300#301#0" expanded="true" />
206
+                  </folding>
207
+                </state>
208
+              </provider>
209
+            </entry>
210
+          </file>
211
+        </leaf>
212
+      </split-second>
213
+    </splitter>
214
+  </component>
215
+  <component name="FileTemplateManagerImpl">
216
+    <option name="RECENT_TEMPLATES">
217
+      <list>
218
+        <option value="Class" />
219
+      </list>
220
+    </option>
221
+  </component>
222
+  <component name="Git.Settings">
223
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
224
+  </component>
225
+  <component name="IdeDocumentHistory">
226
+    <option name="CHANGED_PATHS">
227
+      <list>
228
+        <option value="$PROJECT_DIR$/src/test/java/MyArrayListTest.java" />
229
+        <option value="$PROJECT_DIR$/src/main/java/MyArrayList.java" />
230
+        <option value="$PROJECT_DIR$/src/main/java/MySet.java" />
231
+        <option value="$PROJECT_DIR$/src/test/java/MySetTest.java" />
232
+        <option value="$PROJECT_DIR$/src/main/java/MyMap.java" />
233
+        <option value="$PROJECT_DIR$/src/test/java/MyMapTest.java" />
234
+      </list>
235
+    </option>
236
+  </component>
237
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
238
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
239
+  <component name="JsGulpfileManager">
240
+    <detection-done>true</detection-done>
241
+    <sorting>DEFINITION_ORDER</sorting>
242
+  </component>
243
+  <component name="MavenImportPreferences">
244
+    <option name="importingSettings">
245
+      <MavenImportingSettings>
246
+        <option name="importAutomatically" value="true" />
247
+      </MavenImportingSettings>
248
+    </option>
249
+  </component>
250
+  <component name="ProjectFrameBounds">
251
+    <option name="y" value="23" />
252
+    <option name="width" value="1280" />
253
+    <option name="height" value="705" />
254
+  </component>
255
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
256
+  <component name="ProjectView">
257
+    <navigator proportions="" version="1">
258
+      <foldersAlwaysOnTop value="true" />
259
+    </navigator>
260
+    <panes>
261
+      <pane id="Scope" />
262
+      <pane id="ProjectPane">
263
+        <subPane>
264
+          <expand>
265
+            <path>
266
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
267
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
268
+            </path>
269
+            <path>
270
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
271
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
272
+              <item name="src" type="462c0819:PsiDirectoryNode" />
273
+            </path>
274
+            <path>
275
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
276
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
277
+              <item name="src" type="462c0819:PsiDirectoryNode" />
278
+              <item name="main" type="462c0819:PsiDirectoryNode" />
279
+            </path>
280
+            <path>
281
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
282
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
283
+              <item name="src" type="462c0819:PsiDirectoryNode" />
284
+              <item name="main" type="462c0819:PsiDirectoryNode" />
285
+              <item name="java" type="462c0819:PsiDirectoryNode" />
286
+            </path>
287
+            <path>
288
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
289
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
290
+              <item name="src" type="462c0819:PsiDirectoryNode" />
291
+              <item name="test" type="462c0819:PsiDirectoryNode" />
292
+            </path>
293
+            <path>
294
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
295
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
296
+              <item name="src" type="462c0819:PsiDirectoryNode" />
297
+              <item name="test" type="462c0819:PsiDirectoryNode" />
298
+              <item name="java" type="462c0819:PsiDirectoryNode" />
299
+            </path>
300
+          </expand>
301
+          <select />
302
+        </subPane>
303
+      </pane>
304
+      <pane id="PackagesPane" />
305
+    </panes>
306
+  </component>
307
+  <component name="PropertiesComponent">
308
+    <property name="WebServerToolWindowFactoryState" value="false" />
309
+    <property name="aspect.path.notification.shown" value="true" />
310
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1543160928722" />
311
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
312
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
313
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
314
+    <property name="settings.editor.selected.configurable" value="reference.settingsdialog.IDE.editor.colors.Java" />
315
+  </component>
316
+  <component name="RunDashboard">
317
+    <option name="ruleStates">
318
+      <list>
319
+        <RuleState>
320
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
321
+        </RuleState>
322
+        <RuleState>
323
+          <option name="name" value="StatusDashboardGroupingRule" />
324
+        </RuleState>
325
+      </list>
326
+    </option>
327
+  </component>
328
+  <component name="RunManager" selected="JUnit.MyMapTest">
329
+    <configuration name="MyMapTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
330
+      <module name="generics" />
331
+      <option name="PACKAGE_NAME" value="" />
332
+      <option name="MAIN_CLASS_NAME" value="MyMapTest" />
333
+      <method v="2">
334
+        <option name="Make" enabled="true" />
335
+      </method>
336
+    </configuration>
337
+    <configuration name="MyMapTest.testClear" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
338
+      <module name="generics" />
339
+      <option name="PACKAGE_NAME" value="" />
340
+      <option name="MAIN_CLASS_NAME" value="MyMapTest" />
341
+      <option name="METHOD_NAME" value="testClear" />
342
+      <option name="TEST_OBJECT" value="method" />
343
+      <method v="2">
344
+        <option name="Make" enabled="true" />
345
+      </method>
346
+    </configuration>
347
+    <configuration name="MyMapTest.testGet" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
348
+      <module name="generics" />
349
+      <option name="PACKAGE_NAME" value="" />
350
+      <option name="MAIN_CLASS_NAME" value="MyMapTest" />
351
+      <option name="METHOD_NAME" value="testGet" />
352
+      <option name="TEST_OBJECT" value="method" />
353
+      <method v="2">
354
+        <option name="Make" enabled="true" />
355
+      </method>
356
+    </configuration>
357
+    <configuration name="MyMapTest.testIsEmpty" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
358
+      <module name="generics" />
359
+      <option name="PACKAGE_NAME" value="" />
360
+      <option name="MAIN_CLASS_NAME" value="MyMapTest" />
361
+      <option name="METHOD_NAME" value="testIsEmpty" />
362
+      <option name="TEST_OBJECT" value="method" />
363
+      <method v="2">
364
+        <option name="Make" enabled="true" />
365
+      </method>
366
+    </configuration>
367
+    <configuration name="MyMapTest.testRemove" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
368
+      <module name="generics" />
369
+      <option name="PACKAGE_NAME" value="" />
370
+      <option name="MAIN_CLASS_NAME" value="MyMapTest" />
371
+      <option name="METHOD_NAME" value="testRemove" />
372
+      <option name="TEST_OBJECT" value="method" />
373
+      <method v="2">
374
+        <option name="Make" enabled="true" />
375
+      </method>
376
+    </configuration>
377
+    <list>
378
+      <item itemvalue="JUnit.MyMapTest" />
379
+      <item itemvalue="JUnit.MyMapTest.testGet" />
380
+      <item itemvalue="JUnit.MyMapTest.testIsEmpty" />
381
+      <item itemvalue="JUnit.MyMapTest.testRemove" />
382
+      <item itemvalue="JUnit.MyMapTest.testClear" />
383
+    </list>
384
+    <recent_temporary>
385
+      <list>
386
+        <item itemvalue="JUnit.MyMapTest" />
387
+        <item itemvalue="JUnit.MyMapTest.testClear" />
388
+        <item itemvalue="JUnit.MyMapTest.testRemove" />
389
+        <item itemvalue="JUnit.MyMapTest.testIsEmpty" />
390
+        <item itemvalue="JUnit.MyMapTest.testGet" />
391
+      </list>
392
+    </recent_temporary>
393
+  </component>
394
+  <component name="SvnConfiguration">
395
+    <configuration />
396
+  </component>
397
+  <component name="TaskManager">
398
+    <task active="true" id="Default" summary="Default task">
399
+      <changelist id="d5381189-8f3d-4593-9df6-5cc5a0066dc5" name="Default Changelist" comment="" />
400
+      <created>1542143075175</created>
401
+      <option name="number" value="Default" />
402
+      <option name="presentableId" value="Default" />
403
+      <updated>1542143075175</updated>
404
+      <workItem from="1542143078624" duration="7487000" />
405
+      <workItem from="1542199307508" duration="522000" />
406
+      <workItem from="1542199875875" duration="10820000" />
407
+      <workItem from="1542375661181" duration="9874000" />
408
+      <workItem from="1542407716764" duration="1212000" />
409
+      <workItem from="1542409111118" duration="828000" />
410
+      <workItem from="1542410893203" duration="983000" />
411
+      <workItem from="1542477511866" duration="232000" />
412
+      <workItem from="1542507315593" duration="3552000" />
413
+      <workItem from="1542577727660" duration="7616000" />
414
+      <workItem from="1542988889854" duration="3822000" />
415
+      <workItem from="1543088636515" duration="763000" />
416
+      <workItem from="1543156442906" duration="3153000" />
417
+    </task>
418
+    <servers />
419
+  </component>
420
+  <component name="TestHistory">
421
+    <history-entry file="MyMapTest - 2018.11.25 at 10h 39m 33s.xml">
422
+      <configuration name="MyMapTest" configurationId="JUnit" />
423
+    </history-entry>
424
+    <history-entry file="MyMapTest_testPut - 2018.11.25 at 10h 40m 25s.xml">
425
+      <configuration name="MyMapTest.testPut" configurationId="JUnit" />
426
+    </history-entry>
427
+    <history-entry file="MyMapTest_testGet - 2018.11.25 at 10h 41m 23s.xml">
428
+      <configuration name="MyMapTest.testGet" configurationId="JUnit" />
429
+    </history-entry>
430
+    <history-entry file="MyMapTest - 2018.11.25 at 10h 41m 35s.xml">
431
+      <configuration name="MyMapTest" configurationId="JUnit" />
432
+    </history-entry>
433
+    <history-entry file="MyMapTest_testIsEmpty - 2018.11.25 at 10h 41m 57s.xml">
434
+      <configuration name="MyMapTest.testIsEmpty" configurationId="JUnit" />
435
+    </history-entry>
436
+    <history-entry file="MyMapTest - 2018.11.25 at 10h 42m 01s.xml">
437
+      <configuration name="MyMapTest" configurationId="JUnit" />
438
+    </history-entry>
439
+    <history-entry file="MyMapTest - 2018.11.25 at 10h 43m 24s.xml">
440
+      <configuration name="MyMapTest" configurationId="JUnit" />
441
+    </history-entry>
442
+    <history-entry file="MyMapTest_testRemove - 2018.11.25 at 10h 44m 25s.xml">
443
+      <configuration name="MyMapTest.testRemove" configurationId="JUnit" />
444
+    </history-entry>
445
+    <history-entry file="MyMapTest_testClear - 2018.11.25 at 10h 48m 45s.xml">
446
+      <configuration name="MyMapTest.testClear" configurationId="JUnit" />
447
+    </history-entry>
448
+    <history-entry file="MyMapTest - 2018.11.25 at 10h 48m 50s.xml">
449
+      <configuration name="MyMapTest" configurationId="JUnit" />
450
+    </history-entry>
451
+  </component>
452
+  <component name="TimeTrackingManager">
453
+    <option name="totallyTimeSpent" value="50864000" />
454
+  </component>
455
+  <component name="ToolWindowManager">
456
+    <frame x="0" y="23" width="1280" height="705" extended-state="0" />
457
+    <editor active="true" />
458
+    <layout>
459
+      <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.20516963" />
460
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
461
+      <window_info id="Image Layers" order="2" />
462
+      <window_info id="Designer" order="3" />
463
+      <window_info id="UI Designer" order="4" />
464
+      <window_info id="Capture Tool" order="5" />
465
+      <window_info id="Favorites" order="6" side_tool="true" />
466
+      <window_info anchor="bottom" id="Message" order="0" />
467
+      <window_info anchor="bottom" id="Find" order="1" />
468
+      <window_info anchor="bottom" id="Run" order="2" weight="0.36215335" />
469
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
470
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
471
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
472
+      <window_info anchor="bottom" id="TODO" order="6" />
473
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
474
+      <window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
475
+      <window_info anchor="bottom" id="Terminal" order="9" />
476
+      <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
477
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.3273906" />
478
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
479
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
480
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
481
+      <window_info anchor="right" id="Palette" order="3" />
482
+      <window_info anchor="right" id="Capture Analysis" order="4" />
483
+      <window_info anchor="right" id="Database" order="5" />
484
+      <window_info anchor="right" id="Theme Preview" order="6" />
485
+      <window_info anchor="right" id="Palette&#9;" order="7" />
486
+      <window_info anchor="right" id="Maven Projects" order="8" />
487
+    </layout>
488
+  </component>
489
+  <component name="TypeScriptGeneratedFilesManager">
490
+    <option name="version" value="1" />
491
+  </component>
492
+  <component name="VcsContentAnnotationSettings">
493
+    <option name="myLimit" value="2678400000" />
494
+  </component>
495
+  <component name="editorHistoryManager">
496
+    <entry file="file://$PROJECT_DIR$/src/main/java/.deleteme">
497
+      <provider selected="true" editor-type-id="text-editor" />
498
+    </entry>
499
+    <entry file="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/src.zip!/java/util/Arrays.java">
500
+      <provider selected="true" editor-type-id="text-editor">
501
+        <state relative-caret-position="15">
502
+          <caret line="70" column="13" selection-start-line="70" selection-start-column="13" selection-end-line="70" selection-end-column="13" />
503
+        </state>
504
+      </provider>
505
+    </entry>
506
+    <entry file="file://$PROJECT_DIR$/README.md">
507
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
508
+        <state split_layout="SPLIT">
509
+          <first_editor />
510
+          <second_editor />
511
+        </state>
512
+      </provider>
513
+    </entry>
514
+    <entry file="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/org/junit/Assert.class">
515
+      <provider selected="true" editor-type-id="text-editor">
516
+        <state relative-caret-position="15">
517
+          <caret line="333" selection-start-line="333" selection-end-line="333" />
518
+        </state>
519
+      </provider>
520
+    </entry>
521
+    <entry file="jar://$MAVEN_REPOSITORY$/junit/junit/4.12/junit-4.12.jar!/org/junit/internal/runners/model/ReflectiveCallable.class">
522
+      <provider selected="true" editor-type-id="text-editor">
523
+        <state relative-caret-position="195">
524
+          <caret line="16" selection-start-line="16" selection-end-line="16" />
525
+        </state>
526
+      </provider>
527
+    </entry>
528
+    <entry file="file://$PROJECT_DIR$/src/test/java/MyArrayListTest.java">
529
+      <provider selected="true" editor-type-id="text-editor">
530
+        <state relative-caret-position="165">
531
+          <caret line="11" column="5" selection-start-line="11" selection-start-column="5" selection-end-line="11" selection-end-column="5" />
532
+          <folding>
533
+            <element signature="imports" expanded="true" />
534
+            <element signature="e#172#173#0" expanded="true" />
535
+            <element signature="e#221#222#0" expanded="true" />
536
+          </folding>
537
+        </state>
538
+      </provider>
539
+    </entry>
540
+    <entry file="file://$PROJECT_DIR$/src/main/java/MySet.java">
541
+      <provider selected="true" editor-type-id="text-editor">
542
+        <state relative-caret-position="327">
543
+          <caret line="38" column="14" selection-start-line="38" selection-start-column="14" selection-end-line="38" selection-end-column="14" />
544
+          <folding>
545
+            <element signature="e#93#94#0" expanded="true" />
546
+            <element signature="e#134#135#0" expanded="true" />
547
+            <element signature="e#164#165#0" expanded="true" />
548
+            <element signature="e#201#202#0" expanded="true" />
549
+            <element signature="e#453#454#0" expanded="true" />
550
+            <element signature="e#496#497#0" expanded="true" />
551
+            <element signature="e#521#522#0" expanded="true" />
552
+            <element signature="e#559#560#0" expanded="true" />
553
+            <element signature="e#586#587#0" expanded="true" />
554
+            <element signature="e#627#628#0" expanded="true" />
555
+            <element signature="e#726#727#0" expanded="true" />
556
+            <element signature="e#767#768#0" expanded="true" />
557
+          </folding>
558
+        </state>
559
+      </provider>
560
+    </entry>
561
+    <entry file="file://$PROJECT_DIR$/src/test/java/MySetTest.java">
562
+      <provider selected="true" editor-type-id="text-editor">
563
+        <state relative-caret-position="697">
564
+          <caret line="62" column="20" lean-forward="true" selection-start-line="62" selection-start-column="20" selection-end-line="62" selection-end-column="20" />
565
+          <folding>
566
+            <element signature="imports" expanded="true" />
567
+            <element signature="e#193#194#0" expanded="true" />
568
+            <element signature="e#236#237#0" expanded="true" />
569
+          </folding>
570
+        </state>
571
+      </provider>
572
+    </entry>
573
+    <entry file="file://$PROJECT_DIR$/src/main/java/MyMap.java">
574
+      <provider selected="true" editor-type-id="text-editor">
575
+        <state relative-caret-position="434">
576
+          <caret line="52" column="5" lean-forward="true" selection-start-line="52" selection-start-column="5" selection-end-line="52" selection-end-column="5" />
577
+          <folding>
578
+            <element signature="e#291#292#0" expanded="true" />
579
+            <element signature="e#318#319#0" expanded="true" />
580
+            <element signature="e#355#356#0" expanded="true" />
581
+            <element signature="e#384#385#0" expanded="true" />
582
+            <element signature="e#409#410#0" expanded="true" />
583
+            <element signature="e#446#447#0" expanded="true" />
584
+          </folding>
585
+        </state>
586
+      </provider>
587
+    </entry>
588
+    <entry file="file://$PROJECT_DIR$/src/test/java/MyMapTest.java">
589
+      <provider selected="true" editor-type-id="text-editor">
590
+        <state relative-caret-position="979">
591
+          <caret line="77" selection-start-line="77" selection-end-line="77" />
592
+          <folding>
593
+            <element signature="imports" expanded="true" />
594
+            <element signature="e#156#157#0" expanded="true" />
595
+            <element signature="e#199#200#0" expanded="true" />
596
+          </folding>
597
+        </state>
598
+      </provider>
599
+    </entry>
600
+    <entry file="file://$PROJECT_DIR$/src/main/java/MyArrayList.java">
601
+      <provider selected="true" editor-type-id="text-editor">
602
+        <state relative-caret-position="49">
603
+          <caret line="15" lean-forward="true" selection-start-line="15" selection-end-line="15" />
604
+          <folding>
605
+            <element signature="e#144#145#0" expanded="true" />
606
+            <element signature="e#176#177#0" expanded="true" />
607
+            <element signature="e#204#205#0" expanded="true" />
608
+            <element signature="e#249#250#0" expanded="true" />
609
+            <element signature="e#273#274#0" expanded="true" />
610
+            <element signature="e#300#301#0" expanded="true" />
611
+          </folding>
612
+        </state>
613
+      </provider>
614
+    </entry>
615
+  </component>
616
+  <component name="masterDetails">
617
+    <states>
618
+      <state key="ProjectJDKs.UI">
619
+        <settings>
620
+          <last-edited>1.8</last-edited>
621
+          <splitter-proportions>
622
+            <option name="proportions">
623
+              <list>
624
+                <option value="0.2" />
625
+              </list>
626
+            </option>
627
+          </splitter-proportions>
628
+        </settings>
629
+      </state>
630
+    </states>
631
+  </component>
632
+</project>

+ 16
- 0
generics.iml View File

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

+ 62
- 0
src/main/java/MyArrayList.java View File

@@ -0,0 +1,62 @@
1
+
2
+import java.util.Arrays;
3
+
4
+public class MyArrayList<T>{
5
+
6
+    private Object [] objects;
7
+    private int size;
8
+
9
+    public MyArrayList(int size) {
10
+        this.size = size;
11
+    }
12
+
13
+    public MyArrayList() {
14
+        this.objects = new Object[10];
15
+    }
16
+
17
+    public int size(){
18
+        return size;
19
+    }
20
+
21
+    public void add(T e){
22
+        objects[size] = e;
23
+        size++;
24
+    }
25
+
26
+    public T get(int index) {
27
+        if(index>= size || index < 0) {
28
+            throw new IndexOutOfBoundsException("index: " + index + ", size: " + size);
29
+        }
30
+        return (T) objects[index];
31
+    }
32
+
33
+    public T remove(int index){
34
+        return (T) objects[index];
35
+    }
36
+
37
+    public T set(int index, T element){
38
+        return (T) (objects[index] = element);
39
+    }
40
+
41
+    public void clear(){
42
+       objects = new Object[0];
43
+       size = 0;
44
+    }
45
+
46
+    public boolean isEmpty(){
47
+        if(objects.length == 0) {
48
+            return true;
49
+        } else
50
+            return false;
51
+    }
52
+
53
+    public boolean contains(Object o){
54
+        for(int i = 0; i < this.objects.length; i++) {
55
+            if(this.objects[i] == o){
56
+                return true;
57
+            }
58
+        }
59
+        return false;
60
+    }
61
+
62
+}

+ 75
- 0
src/main/java/MyMap.java View File

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

+ 55
- 0
src/main/java/MySet.java View File

@@ -0,0 +1,55 @@
1
+
2
+public class MySet <T> {
3
+
4
+
5
+    MyArrayList<T> set;
6
+    public int size;
7
+
8
+    public MySet() {
9
+        set = new MyArrayList<>();
10
+    }
11
+
12
+    public T get(int index){
13
+        return set.get(index);
14
+    }
15
+
16
+    public void add(T element){
17
+        if(set.contains(element)) {
18
+            throw new IllegalArgumentException("This element already exists here");
19
+        } else {
20
+            set.add(element);
21
+        }
22
+    }
23
+
24
+    public boolean contains(T o) {
25
+        return this.set.contains(o);
26
+    }
27
+
28
+    public int size() {
29
+        return this.set.size();
30
+    }
31
+
32
+    public void clear() {
33
+        set = new MyArrayList<>();
34
+    }
35
+
36
+    public boolean isEmpty() {
37
+        if(set.size() == 0) {
38
+            return true;
39
+        } else
40
+        return false;
41
+    }
42
+
43
+    public T remove(int i) {
44
+        return this.set.remove(i);
45
+    }
46
+
47
+    public boolean equals(Object o){
48
+        Object object = new Object();
49
+        if(o.equals(object)) {
50
+            return true;
51
+        } else
52
+        return false;
53
+    }
54
+
55
+}

+ 83
- 0
src/test/java/MyArrayListTest.java View File

@@ -0,0 +1,83 @@
1
+import org.junit.Test;
2
+import org.junit.Assert;
3
+import org.junit.Before;
4
+
5
+public class MyArrayListTest {
6
+
7
+    private MyArrayList data;
8
+
9
+    @Before
10
+    public void setUp(){
11
+        data = new MyArrayList<Integer>();
12
+    }
13
+
14
+    @Test
15
+    public void TestAddAppend(){
16
+        data.add(7);
17
+        int expected = 1;
18
+        int actual = data.size();
19
+        Assert.assertEquals(expected, actual);
20
+    }
21
+
22
+    @Test
23
+    public void testGet(){
24
+        data.add(4);
25
+        data.add(3);
26
+        data.add(2);
27
+        data.add(1);
28
+        Object expected = 3;
29
+        Object actual = data.get(1);
30
+        Assert.assertEquals(expected, actual);
31
+
32
+    }
33
+
34
+    @Test
35
+    public void testRemove(){
36
+        data.add(4);
37
+        data.add(3);
38
+        data.add(2);
39
+        data.add(1);
40
+        Object expected = 4;
41
+        Object actual = data.remove(0);
42
+        Assert.assertEquals(expected, actual);
43
+    }
44
+
45
+    @Test
46
+    public void testSet(){
47
+        data.add(5);
48
+        data.add(3);
49
+        Object expected = 2;
50
+        Object actual = data.set(0, 2);
51
+        Assert.assertEquals(expected, actual);
52
+    }
53
+
54
+    @Test
55
+    public void testClear(){
56
+        data.add(5);
57
+        data.add(3);
58
+        data.clear();
59
+        int expected = 0;
60
+        int actual = data.size();
61
+        Assert.assertEquals(expected, actual);
62
+
63
+    }
64
+
65
+    @Test
66
+    public void testIsEmpty(){
67
+        data.add(5);
68
+        data.add(3);
69
+        boolean expected = false;
70
+        boolean actual = data.isEmpty();
71
+        Assert.assertEquals(expected, actual);
72
+
73
+    }
74
+
75
+    @Test
76
+    public void testContains(){
77
+        data.add(5);
78
+        data.add(3);
79
+        boolean expected = true;
80
+        boolean actual = data.contains(5);
81
+        Assert.assertEquals(expected, actual);
82
+    }
83
+}

+ 89
- 0
src/test/java/MyMapTest.java View File

@@ -0,0 +1,89 @@
1
+import org.junit.Test;
2
+import org.junit.Assert;
3
+import org.junit.Before;
4
+
5
+public class MyMapTest {
6
+
7
+    private MyMap data;
8
+
9
+    @Before
10
+    public void setUp(){
11
+        data = new MyMap();
12
+    }
13
+
14
+    @Test
15
+    public void testPut(){
16
+        data.put(1, "one");
17
+        data.put(2, "two");
18
+        int expected = 2;
19
+        int actual = data.size();
20
+        Assert.assertEquals(expected, actual);
21
+    }
22
+
23
+    @Test
24
+    public void testSize(){
25
+        data.put(1, "one");
26
+        data.put(2, "two");
27
+        int actual = 0;
28
+        int expected = data.size();
29
+        Assert.assertEquals(expected, actual);
30
+    }
31
+
32
+    @Test
33
+    public void testGet(){
34
+        data.put(1, "one");
35
+        data.put(2, "two");
36
+        Object expected = "two";
37
+        Object actual = data.get(2);
38
+        Assert.assertEquals(expected, actual);
39
+    }
40
+
41
+    @Test
42
+    public void testClear(){
43
+        data.put(1, 11);
44
+        data.put(2, 22);
45
+        data.clear();
46
+        int expected = 0;
47
+        int actual = data.size();
48
+        Assert.assertEquals(expected, actual);
49
+    }
50
+
51
+    @Test
52
+    public void testRemove(){
53
+        data.put(1, "one");
54
+        data.put(2, "two");
55
+        data.remove(1);
56
+        int expected = 1;
57
+        int actual = data.size();
58
+        Assert.assertEquals(expected, actual);
59
+    }
60
+
61
+    @Test
62
+    public void testContainsKey(){
63
+        data.put(1, "one");
64
+        data.put(2, "two");
65
+        boolean expected = true;
66
+        boolean actual = data.containsKey(2);
67
+        Assert.assertEquals(expected, actual);
68
+    }
69
+
70
+    @Test
71
+    public void testContainsValue(){
72
+        data.put(1, "one");
73
+        data.put(2, "two");
74
+        boolean expected = true;
75
+        boolean actual = data.containsValue("two");
76
+        Assert.assertEquals(expected, actual);
77
+    }
78
+
79
+    @Test
80
+    public void testIsEmpty (){
81
+        data.put(1, "one");
82
+        data.put(2, "two");
83
+        boolean expected = false;
84
+        boolean actual = data.isEmpty();
85
+        Assert.assertEquals(expected, actual);
86
+    }
87
+
88
+
89
+}

+ 93
- 0
src/test/java/MySetTest.java View File

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