#29 Generics-MyArrayList

otevřený
chu1ta26 chce sloučit 1 revizí z větve chu1ta26/CR-MicroLabs-Generics-MyArrayList:master do větve master

+ 1
- 0
.idea/.name Zobrazit soubor

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

+ 16
- 0
.idea/compiler.xml Zobrazit soubor

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

+ 13
- 0
.idea/libraries/Maven__junit_junit_4_12.xml Zobrazit soubor

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

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

@@ -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_11" project-jdk-name="11" project-jdk-type="JavaSDK">
11
+    <output url="file://$PROJECT_DIR$/classes" />
12
+  </component>
13
+</project>

+ 8
- 0
.idea/modules.xml Zobrazit soubor

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

+ 124
- 0
.idea/uiDesigner.xml Zobrazit soubor

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

+ 6
- 0
.idea/vcs.xml Zobrazit soubor

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

+ 652
- 0
.idea/workspace.xml Zobrazit soubor

@@ -0,0 +1,652 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="b0a6fb2a-ff68-4dd5-ae7c-a21099af5480" name="Default Changelist" comment="">
5
+      <change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/src/main/java/MyArrayList.java" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/src/main/java/MyMap.java" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/src/main/java/MySet.java" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/src/main/java/Person.java" afterDir="false" />
10
+      <change afterPath="$PROJECT_DIR$/src/test/java/TestMyArrayList.java" afterDir="false" />
11
+      <change afterPath="$PROJECT_DIR$/src/test/java/TestMyMap.java" afterDir="false" />
12
+      <change afterPath="$PROJECT_DIR$/src/test/java/TestMySet.java" afterDir="false" />
13
+      <change afterPath="$PROJECT_DIR$/src/test/java/TestPerson.java" afterDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
15
+    </list>
16
+    <ignored path="$PROJECT_DIR$/target/" />
17
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
18
+    <option name="SHOW_DIALOG" value="false" />
19
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
20
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
21
+    <option name="LAST_RESOLUTION" value="IGNORE" />
22
+  </component>
23
+  <component name="CoverageDataManager">
24
+    <SUITE FILE_PATH="coverage/generics$TestMyArrayList.ic" NAME="TestMyArrayList Coverage Results" MODIFIED="1543105088128" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
25
+    <SUITE FILE_PATH="coverage/generics$TestMyArrayList_getTest.ic" NAME="TestMyArrayList.getTest Coverage Results" MODIFIED="1543105631883" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
26
+    <SUITE FILE_PATH="coverage/generics$TestMyArrayList_clearTest.ic" NAME="TestMyArrayList.clearTest Coverage Results" MODIFIED="1543105433343" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
27
+    <SUITE FILE_PATH="coverage/generics$TestPerson.ic" NAME="TestPerson Coverage Results" MODIFIED="1543106116920" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
28
+    <SUITE FILE_PATH="coverage/generics$TestPerson_setPersonName.ic" NAME="TestPerson.setPersonName Coverage Results" MODIFIED="1543106025569" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="idea" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" />
29
+  </component>
30
+  <component name="CoverageViewManager">
31
+    <option name="myElementSize" value="22" />
32
+  </component>
33
+  <component name="FUSProjectUsageTrigger">
34
+    <session id="110589371">
35
+      <usages-collector id="statistics.lifecycle.project">
36
+        <counts>
37
+          <entry key="project.closed" value="9" />
38
+          <entry key="project.open.time.0" value="2" />
39
+          <entry key="project.open.time.1" value="7" />
40
+          <entry key="project.open.time.6" value="1" />
41
+          <entry key="project.opened" value="10" />
42
+        </counts>
43
+      </usages-collector>
44
+      <usages-collector id="statistics.file.extensions.open">
45
+        <counts>
46
+          <entry key="java" value="15" />
47
+          <entry key="md" value="1" />
48
+          <entry key="xml" value="2" />
49
+        </counts>
50
+      </usages-collector>
51
+      <usages-collector id="statistics.file.types.open">
52
+        <counts>
53
+          <entry key="JAVA" value="15" />
54
+          <entry key="Markdown" value="1" />
55
+          <entry key="XML" value="2" />
56
+        </counts>
57
+      </usages-collector>
58
+      <usages-collector id="statistics.file.extensions.edit">
59
+        <counts>
60
+          <entry key="dummy" value="7" />
61
+          <entry key="java" value="4266" />
62
+          <entry key="xml" value="2" />
63
+        </counts>
64
+      </usages-collector>
65
+      <usages-collector id="statistics.file.types.edit">
66
+        <counts>
67
+          <entry key="JAVA" value="4266" />
68
+          <entry key="PLAIN_TEXT" value="7" />
69
+          <entry key="XML" value="2" />
70
+        </counts>
71
+      </usages-collector>
72
+    </session>
73
+  </component>
74
+  <component name="FileEditorManager">
75
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
76
+      <file pinned="false" current-in-tab="true">
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="387">
80
+              <caret line="49" column="22" lean-forward="true" selection-start-line="49" selection-start-column="22" selection-end-line="49" selection-end-column="22" />
81
+              <folding>
82
+                <element signature="e#276#277#0" expanded="true" />
83
+                <element signature="e#303#304#0" expanded="true" />
84
+                <element signature="e#1354#1355#0" expanded="true" />
85
+                <element signature="e#1398#1399#0" expanded="true" />
86
+                <element signature="e#1632#1633#0" expanded="true" />
87
+                <element signature="e#1661#1662#0" expanded="true" />
88
+                <element signature="e#1699#1700#0" expanded="true" />
89
+                <element signature="e#1732#1733#0" expanded="true" />
90
+                <element signature="e#1769#1770#0" expanded="true" />
91
+                <element signature="e#1801#1802#0" 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/main/java/MySet.java">
99
+          <provider selected="true" editor-type-id="text-editor">
100
+            <state relative-caret-position="263">
101
+              <caret line="34" selection-start-line="34" selection-end-line="34" />
102
+              <folding>
103
+                <element signature="e#709#710#0" expanded="true" />
104
+                <element signature="e#737#738#0" expanded="true" />
105
+                <element signature="e#763#764#0" expanded="true" />
106
+                <element signature="e#787#788#0" expanded="true" />
107
+                <element signature="e#911#912#0" expanded="true" />
108
+                <element signature="e#946#947#0" expanded="true" />
109
+              </folding>
110
+            </state>
111
+          </provider>
112
+        </entry>
113
+      </file>
114
+      <file pinned="false" current-in-tab="false">
115
+        <entry file="file://$PROJECT_DIR$/src/main/java/MyArrayList.java">
116
+          <provider selected="true" editor-type-id="text-editor">
117
+            <state relative-caret-position="-667">
118
+              <caret line="38" column="41" lean-forward="true" selection-start-line="38" selection-start-column="41" selection-end-line="38" selection-end-column="41" />
119
+            </state>
120
+          </provider>
121
+        </entry>
122
+      </file>
123
+    </leaf>
124
+  </component>
125
+  <component name="FileTemplateManagerImpl">
126
+    <option name="RECENT_TEMPLATES">
127
+      <list>
128
+        <option value="Class" />
129
+      </list>
130
+    </option>
131
+  </component>
132
+  <component name="Git.Settings">
133
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
134
+  </component>
135
+  <component name="IdeDocumentHistory">
136
+    <option name="CHANGED_PATHS">
137
+      <list>
138
+        <option value="$PROJECT_DIR$/pom.xml" />
139
+        <option value="$PROJECT_DIR$/src/main/java/Person.java" />
140
+        <option value="$PROJECT_DIR$/src/test/java/TestMyArrayList.java" />
141
+        <option value="$PROJECT_DIR$/src/test/java/TestPerson.java" />
142
+        <option value="$PROJECT_DIR$/src/main/java/Set.java" />
143
+        <option value="$PROJECT_DIR$/src/test/java/TestMySet.java" />
144
+        <option value="$PROJECT_DIR$/src/main/java/MyArrayList.java" />
145
+        <option value="$PROJECT_DIR$/src/main/java/MySet.java" />
146
+        <option value="$PROJECT_DIR$/src/main/java/MyMap.java" />
147
+      </list>
148
+    </option>
149
+  </component>
150
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
151
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
152
+  <component name="JsGulpfileManager">
153
+    <detection-done>true</detection-done>
154
+    <sorting>DEFINITION_ORDER</sorting>
155
+  </component>
156
+  <component name="ProjectFrameBounds">
157
+    <option name="x" value="227" />
158
+    <option name="y" value="24" />
159
+    <option name="width" value="1280" />
160
+    <option name="height" value="715" />
161
+  </component>
162
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
163
+  <component name="ProjectView">
164
+    <navigator proportions="" version="1">
165
+      <foldersAlwaysOnTop value="true" />
166
+    </navigator>
167
+    <panes>
168
+      <pane id="PackagesPane" />
169
+      <pane id="ProjectPane">
170
+        <subPane>
171
+          <expand>
172
+            <path>
173
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
174
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
175
+            </path>
176
+            <path>
177
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
178
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
179
+              <item name="src" type="462c0819:PsiDirectoryNode" />
180
+            </path>
181
+            <path>
182
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
183
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
184
+              <item name="src" type="462c0819:PsiDirectoryNode" />
185
+              <item name="main" type="462c0819:PsiDirectoryNode" />
186
+            </path>
187
+            <path>
188
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
189
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
190
+              <item name="src" type="462c0819:PsiDirectoryNode" />
191
+              <item name="main" type="462c0819:PsiDirectoryNode" />
192
+              <item name="java" 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="test" type="462c0819:PsiDirectoryNode" />
199
+            </path>
200
+            <path>
201
+              <item name="generics" type="b2602c69:ProjectViewProjectNode" />
202
+              <item name="CR-MicroLabs-Generics-MyArrayList" type="462c0819:PsiDirectoryNode" />
203
+              <item name="src" type="462c0819:PsiDirectoryNode" />
204
+              <item name="test" type="462c0819:PsiDirectoryNode" />
205
+              <item name="java" type="462c0819:PsiDirectoryNode" />
206
+            </path>
207
+          </expand>
208
+          <select />
209
+        </subPane>
210
+      </pane>
211
+      <pane id="Scope" />
212
+    </panes>
213
+  </component>
214
+  <component name="PropertiesComponent">
215
+    <property name="Downloaded.Files.Path.Enabled" value="false" />
216
+    <property name="Repository.Attach.JavaDocs" value="false" />
217
+    <property name="Repository.Attach.Sources" value="false" />
218
+    <property name="WebServerToolWindowFactoryState" value="false" />
219
+    <property name="aspect.path.notification.shown" value="true" />
220
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1543240298076" />
221
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
222
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
223
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
224
+    <property name="project.structure.last.edited" value="Libraries" />
225
+    <property name="project.structure.proportion" value="0.0" />
226
+    <property name="project.structure.side.proportion" value="0.2" />
227
+    <property name="settings.editor.selected.configurable" value="editor.preferences.import" />
228
+  </component>
229
+  <component name="RunDashboard">
230
+    <option name="ruleStates">
231
+      <list>
232
+        <RuleState>
233
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
234
+        </RuleState>
235
+        <RuleState>
236
+          <option name="name" value="StatusDashboardGroupingRule" />
237
+        </RuleState>
238
+      </list>
239
+    </option>
240
+  </component>
241
+  <component name="RunManager" selected="JUnit.TestPerson">
242
+    <configuration name="TestMyArrayList" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
243
+      <module name="generics" />
244
+      <option name="PACKAGE_NAME" value="" />
245
+      <option name="MAIN_CLASS_NAME" value="TestMyArrayList" />
246
+      <method v="2">
247
+        <option name="Make" enabled="true" />
248
+      </method>
249
+    </configuration>
250
+    <configuration name="TestMyArrayList.clearTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
251
+      <module name="generics" />
252
+      <option name="PACKAGE_NAME" value="" />
253
+      <option name="MAIN_CLASS_NAME" value="TestMyArrayList" />
254
+      <option name="METHOD_NAME" value="clearTest" />
255
+      <option name="TEST_OBJECT" value="method" />
256
+      <method v="2">
257
+        <option name="Make" enabled="true" />
258
+      </method>
259
+    </configuration>
260
+    <configuration name="TestMyArrayList.getTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
261
+      <module name="generics" />
262
+      <option name="PACKAGE_NAME" value="" />
263
+      <option name="MAIN_CLASS_NAME" value="TestMyArrayList" />
264
+      <option name="METHOD_NAME" value="getTest" />
265
+      <option name="TEST_OBJECT" value="method" />
266
+      <method v="2">
267
+        <option name="Make" enabled="true" />
268
+      </method>
269
+    </configuration>
270
+    <configuration name="TestPerson" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
271
+      <module name="generics" />
272
+      <option name="PACKAGE_NAME" value="" />
273
+      <option name="MAIN_CLASS_NAME" value="TestPerson" />
274
+      <method v="2">
275
+        <option name="Make" enabled="true" />
276
+      </method>
277
+    </configuration>
278
+    <configuration name="TestPerson.setPersonName" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
279
+      <module name="generics" />
280
+      <option name="PACKAGE_NAME" value="" />
281
+      <option name="MAIN_CLASS_NAME" value="TestPerson" />
282
+      <option name="METHOD_NAME" value="setPersonName" />
283
+      <option name="TEST_OBJECT" value="method" />
284
+      <method v="2">
285
+        <option name="Make" enabled="true" />
286
+      </method>
287
+    </configuration>
288
+    <configuration default="true" type="tests" factoryName="Nosetests">
289
+      <option name="INTERPRETER_OPTIONS" value="" />
290
+      <option name="PARENT_ENVS" value="true" />
291
+      <option name="SDK_HOME" value="" />
292
+      <option name="WORKING_DIRECTORY" value="" />
293
+      <option name="IS_MODULE_SDK" value="false" />
294
+      <option name="ADD_CONTENT_ROOTS" value="true" />
295
+      <option name="ADD_SOURCE_ROOTS" value="true" />
296
+      <module name="" />
297
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
298
+      <option name="_new_regexPattern" value="&quot;&quot;" />
299
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
300
+      <option name="_new_target" value="&quot;&quot;" />
301
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
302
+      <method v="2" />
303
+    </configuration>
304
+    <configuration default="true" type="tests" factoryName="Twisted Trial">
305
+      <option name="INTERPRETER_OPTIONS" value="" />
306
+      <option name="PARENT_ENVS" value="true" />
307
+      <option name="SDK_HOME" value="" />
308
+      <option name="WORKING_DIRECTORY" value="" />
309
+      <option name="IS_MODULE_SDK" value="false" />
310
+      <option name="ADD_CONTENT_ROOTS" value="true" />
311
+      <option name="ADD_SOURCE_ROOTS" value="true" />
312
+      <module name="" />
313
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
314
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
315
+      <option name="_new_target" value="&quot;&quot;" />
316
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
317
+      <method v="2" />
318
+    </configuration>
319
+    <configuration default="true" type="tests" factoryName="Unittests">
320
+      <option name="INTERPRETER_OPTIONS" value="" />
321
+      <option name="PARENT_ENVS" value="true" />
322
+      <option name="SDK_HOME" value="" />
323
+      <option name="WORKING_DIRECTORY" value="" />
324
+      <option name="IS_MODULE_SDK" value="false" />
325
+      <option name="ADD_CONTENT_ROOTS" value="true" />
326
+      <option name="ADD_SOURCE_ROOTS" value="true" />
327
+      <module name="" />
328
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
329
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
330
+      <option name="_new_target" value="&quot;&quot;" />
331
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
332
+      <method v="2" />
333
+    </configuration>
334
+    <configuration default="true" type="tests" factoryName="py.test">
335
+      <option name="INTERPRETER_OPTIONS" value="" />
336
+      <option name="PARENT_ENVS" value="true" />
337
+      <option name="SDK_HOME" value="" />
338
+      <option name="WORKING_DIRECTORY" value="" />
339
+      <option name="IS_MODULE_SDK" value="false" />
340
+      <option name="ADD_CONTENT_ROOTS" value="true" />
341
+      <option name="ADD_SOURCE_ROOTS" value="true" />
342
+      <module name="" />
343
+      <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
344
+      <option name="_new_keywords" value="&quot;&quot;" />
345
+      <option name="_new_additionalArguments" value="&quot;&quot;" />
346
+      <option name="_new_target" value="&quot;&quot;" />
347
+      <option name="_new_targetType" value="&quot;PATH&quot;" />
348
+      <method v="2" />
349
+    </configuration>
350
+    <list>
351
+      <item itemvalue="JUnit.TestMyArrayList" />
352
+      <item itemvalue="JUnit.TestMyArrayList.clearTest" />
353
+      <item itemvalue="JUnit.TestMyArrayList.getTest" />
354
+      <item itemvalue="JUnit.TestPerson.setPersonName" />
355
+      <item itemvalue="JUnit.TestPerson" />
356
+    </list>
357
+    <recent_temporary>
358
+      <list>
359
+        <item itemvalue="JUnit.TestPerson" />
360
+        <item itemvalue="JUnit.TestPerson.setPersonName" />
361
+        <item itemvalue="JUnit.TestMyArrayList.getTest" />
362
+        <item itemvalue="JUnit.TestMyArrayList.clearTest" />
363
+        <item itemvalue="JUnit.TestMyArrayList" />
364
+      </list>
365
+    </recent_temporary>
366
+  </component>
367
+  <component name="SvnConfiguration">
368
+    <configuration />
369
+  </component>
370
+  <component name="TaskManager">
371
+    <task active="true" id="Default" summary="Default task">
372
+      <changelist id="b0a6fb2a-ff68-4dd5-ae7c-a21099af5480" name="Default Changelist" comment="" />
373
+      <created>1542488403405</created>
374
+      <option name="number" value="Default" />
375
+      <option name="presentableId" value="Default" />
376
+      <updated>1542488403405</updated>
377
+      <workItem from="1542488404796" duration="13000" />
378
+      <workItem from="1542488520026" duration="13000" />
379
+      <workItem from="1542642537841" duration="7580000" />
380
+      <workItem from="1542660413584" duration="1000" />
381
+      <workItem from="1542660429838" duration="113000" />
382
+      <workItem from="1542684942697" duration="9661000" />
383
+      <workItem from="1542738308182" duration="467000" />
384
+      <workItem from="1542822651571" duration="3295000" />
385
+      <workItem from="1543103486393" duration="4827000" />
386
+      <workItem from="1543165773118" duration="4701000" />
387
+    </task>
388
+    <servers />
389
+  </component>
390
+  <component name="TestHistory">
391
+    <history-entry file="TestMyArrayList_setTest - 2018.11.21 at 14h 29m 11s.xml">
392
+      <configuration name="TestMyArrayList.setTest" configurationId="JUnit" />
393
+    </history-entry>
394
+    <history-entry file="TestMyArrayList_isEmptyTest - 2018.11.24 at 19h 17m 11s.xml">
395
+      <configuration name="TestMyArrayList.isEmptyTest" configurationId="JUnit" />
396
+    </history-entry>
397
+    <history-entry file="TestMyArrayList_isNotEmptyTest - 2018.11.24 at 19h 17m 16s.xml">
398
+      <configuration name="TestMyArrayList.isNotEmptyTest" configurationId="JUnit" />
399
+    </history-entry>
400
+    <history-entry file="TestMyArrayList - 2018.11.24 at 19h 18m 11s.xml">
401
+      <configuration name="TestMyArrayList" configurationId="JUnit" />
402
+    </history-entry>
403
+    <history-entry file="TestMyArrayList_clearTest - 2018.11.24 at 19h 23m 38s.xml">
404
+      <configuration name="TestMyArrayList.clearTest" configurationId="JUnit" />
405
+    </history-entry>
406
+    <history-entry file="TestMyArrayList_clearTest - 2018.11.24 at 19h 23m 56s.xml">
407
+      <configuration name="TestMyArrayList.clearTest" configurationId="JUnit" />
408
+    </history-entry>
409
+    <history-entry file="TestMyArrayList_getTest - 2018.11.24 at 19h 27m 05s.xml">
410
+      <configuration name="TestMyArrayList.getTest" configurationId="JUnit" />
411
+    </history-entry>
412
+    <history-entry file="TestMyArrayList_getTest - 2018.11.24 at 19h 27m 14s.xml">
413
+      <configuration name="TestMyArrayList.getTest" configurationId="JUnit" />
414
+    </history-entry>
415
+    <history-entry file="TestPerson_setPersonName - 2018.11.24 at 19h 33m 48s.xml">
416
+      <configuration name="TestPerson.setPersonName" configurationId="JUnit" />
417
+    </history-entry>
418
+    <history-entry file="TestPerson - 2018.11.24 at 19h 35m 19s.xml">
419
+      <configuration name="TestPerson" configurationId="JUnit" />
420
+    </history-entry>
421
+  </component>
422
+  <component name="TimeTrackingManager">
423
+    <option name="totallyTimeSpent" value="30671000" />
424
+  </component>
425
+  <component name="ToolWindowManager">
426
+    <frame x="227" y="24" width="1280" height="715" extended-state="0" />
427
+    <editor active="true" />
428
+    <layout>
429
+      <window_info content_ui="combo" id="Project" order="0" weight="0.37416106" />
430
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
431
+      <window_info id="Image Layers" order="2" />
432
+      <window_info id="Designer" order="3" />
433
+      <window_info id="UI Designer" order="4" />
434
+      <window_info id="Capture Tool" order="5" />
435
+      <window_info id="Favorites" order="6" side_tool="true" />
436
+      <window_info anchor="bottom" id="Message" order="0" />
437
+      <window_info anchor="bottom" id="Find" order="1" weight="0.32876712" />
438
+      <window_info anchor="bottom" id="Run" order="2" weight="0.3260274" />
439
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.3990461" />
440
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
441
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
442
+      <window_info anchor="bottom" id="TODO" order="6" />
443
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
444
+      <window_info anchor="bottom" id="Terminal" order="8" />
445
+      <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
446
+      <window_info anchor="bottom" id="Version Control" order="10" show_stripe_button="false" />
447
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.32739726" />
448
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
449
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
450
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
451
+      <window_info anchor="right" id="Palette" order="3" />
452
+      <window_info anchor="right" id="Capture Analysis" order="4" />
453
+      <window_info anchor="right" id="Theme Preview" order="5" />
454
+      <window_info anchor="right" id="Palette&#9;" order="6" />
455
+      <window_info anchor="right" id="SciView" order="7" />
456
+      <window_info anchor="right" id="Database" order="8" />
457
+      <window_info anchor="right" id="Maven Projects" order="9" />
458
+      <window_info anchor="right" id="Coverage" order="10" side_tool="true" weight="0.32885906" />
459
+    </layout>
460
+  </component>
461
+  <component name="TypeScriptGeneratedFilesManager">
462
+    <option name="version" value="1" />
463
+  </component>
464
+  <component name="VcsContentAnnotationSettings">
465
+    <option name="myLimit" value="2678400000" />
466
+  </component>
467
+  <component name="editorHistoryManager">
468
+    <entry file="file://$PROJECT_DIR$/README.md">
469
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
470
+        <state split_layout="FIRST">
471
+          <first_editor />
472
+          <second_editor />
473
+        </state>
474
+      </provider>
475
+    </entry>
476
+    <entry file="file://$PROJECT_DIR$/src/main/java/Person.java">
477
+      <provider selected="true" editor-type-id="text-editor">
478
+        <state relative-caret-position="195">
479
+          <caret line="13" column="29" selection-start-line="13" selection-start-column="29" selection-end-line="13" selection-end-column="29" />
480
+        </state>
481
+      </provider>
482
+    </entry>
483
+    <entry file="file://$PROJECT_DIR$/src/test/java/TestPerson.java">
484
+      <provider selected="true" editor-type-id="text-editor">
485
+        <state relative-caret-position="180">
486
+          <caret line="12" selection-start-line="12" selection-end-line="12" />
487
+        </state>
488
+      </provider>
489
+    </entry>
490
+    <entry file="file://$PROJECT_DIR$/src/main/java/Set.java" />
491
+    <entry file="file://$PROJECT_DIR$/src/test/java/TestMyMap.java">
492
+      <provider selected="true" editor-type-id="text-editor">
493
+        <state>
494
+          <caret column="22" selection-start-column="22" selection-end-column="22" />
495
+        </state>
496
+      </provider>
497
+    </entry>
498
+    <entry file="file://$PROJECT_DIR$/src/test/java/TestMySet.java">
499
+      <provider selected="true" editor-type-id="text-editor">
500
+        <state relative-caret-position="30">
501
+          <caret line="2" lean-forward="true" selection-start-line="2" selection-end-line="2" />
502
+        </state>
503
+      </provider>
504
+    </entry>
505
+    <entry file="file://$PROJECT_DIR$/src/test/java/TestMyArrayList.java">
506
+      <provider selected="true" editor-type-id="text-editor">
507
+        <state relative-caret-position="-1057">
508
+          <caret line="16" lean-forward="true" selection-start-line="16" selection-end-line="16" />
509
+          <folding>
510
+            <element signature="imports" expanded="true" />
511
+          </folding>
512
+        </state>
513
+      </provider>
514
+    </entry>
515
+    <entry file="file://$PROJECT_DIR$/pom.xml">
516
+      <provider selected="true" editor-type-id="text-editor">
517
+        <state relative-caret-position="240">
518
+          <caret line="16" column="31" selection-start-line="16" selection-start-column="31" selection-end-line="16" selection-end-column="31" />
519
+        </state>
520
+      </provider>
521
+    </entry>
522
+    <entry file="file://$PROJECT_DIR$/src/main/java/MyArrayList.java">
523
+      <provider selected="true" editor-type-id="text-editor">
524
+        <state relative-caret-position="-667">
525
+          <caret line="38" column="41" lean-forward="true" selection-start-line="38" selection-start-column="41" selection-end-line="38" selection-end-column="41" />
526
+        </state>
527
+      </provider>
528
+    </entry>
529
+    <entry file="file://$PROJECT_DIR$/src/main/java/MySet.java">
530
+      <provider selected="true" editor-type-id="text-editor">
531
+        <state relative-caret-position="263">
532
+          <caret line="34" selection-start-line="34" selection-end-line="34" />
533
+          <folding>
534
+            <element signature="e#709#710#0" expanded="true" />
535
+            <element signature="e#737#738#0" expanded="true" />
536
+            <element signature="e#763#764#0" expanded="true" />
537
+            <element signature="e#787#788#0" expanded="true" />
538
+            <element signature="e#911#912#0" expanded="true" />
539
+            <element signature="e#946#947#0" expanded="true" />
540
+          </folding>
541
+        </state>
542
+      </provider>
543
+    </entry>
544
+    <entry file="file://$PROJECT_DIR$/src/main/java/MyMap.java">
545
+      <provider selected="true" editor-type-id="text-editor">
546
+        <state relative-caret-position="387">
547
+          <caret line="49" column="22" lean-forward="true" selection-start-line="49" selection-start-column="22" selection-end-line="49" selection-end-column="22" />
548
+          <folding>
549
+            <element signature="e#276#277#0" expanded="true" />
550
+            <element signature="e#303#304#0" expanded="true" />
551
+            <element signature="e#1354#1355#0" expanded="true" />
552
+            <element signature="e#1398#1399#0" expanded="true" />
553
+            <element signature="e#1632#1633#0" expanded="true" />
554
+            <element signature="e#1661#1662#0" expanded="true" />
555
+            <element signature="e#1699#1700#0" expanded="true" />
556
+            <element signature="e#1732#1733#0" expanded="true" />
557
+            <element signature="e#1769#1770#0" expanded="true" />
558
+            <element signature="e#1801#1802#0" expanded="true" />
559
+          </folding>
560
+        </state>
561
+      </provider>
562
+    </entry>
563
+  </component>
564
+  <component name="masterDetails">
565
+    <states>
566
+      <state key="ArtifactsStructureConfigurable.UI">
567
+        <settings>
568
+          <artifact-editor />
569
+          <splitter-proportions>
570
+            <option name="proportions">
571
+              <list>
572
+                <option value="0.2" />
573
+              </list>
574
+            </option>
575
+          </splitter-proportions>
576
+        </settings>
577
+      </state>
578
+      <state key="FacetStructureConfigurable.UI">
579
+        <settings>
580
+          <last-edited>No facets are configured</last-edited>
581
+          <splitter-proportions>
582
+            <option name="proportions">
583
+              <list>
584
+                <option value="0.2" />
585
+              </list>
586
+            </option>
587
+          </splitter-proportions>
588
+        </settings>
589
+      </state>
590
+      <state key="GlobalLibrariesConfigurable.UI">
591
+        <settings>
592
+          <splitter-proportions>
593
+            <option name="proportions">
594
+              <list>
595
+                <option value="0.2" />
596
+              </list>
597
+            </option>
598
+          </splitter-proportions>
599
+        </settings>
600
+      </state>
601
+      <state key="JdkListConfigurable.UI">
602
+        <settings>
603
+          <last-edited>1.8</last-edited>
604
+          <splitter-proportions>
605
+            <option name="proportions">
606
+              <list>
607
+                <option value="0.2" />
608
+              </list>
609
+            </option>
610
+          </splitter-proportions>
611
+        </settings>
612
+      </state>
613
+      <state key="ModuleStructureConfigurable.UI">
614
+        <settings>
615
+          <last-edited>generics</last-edited>
616
+          <splitter-proportions>
617
+            <option name="proportions">
618
+              <list>
619
+                <option value="0.2" />
620
+                <option value="0.6" />
621
+              </list>
622
+            </option>
623
+          </splitter-proportions>
624
+        </settings>
625
+      </state>
626
+      <state key="ProjectJDKs.UI">
627
+        <settings>
628
+          <last-edited>1.8</last-edited>
629
+          <splitter-proportions>
630
+            <option name="proportions">
631
+              <list>
632
+                <option value="0.2" />
633
+              </list>
634
+            </option>
635
+          </splitter-proportions>
636
+        </settings>
637
+      </state>
638
+      <state key="ProjectLibrariesConfigurable.UI">
639
+        <settings>
640
+          <last-edited>Maven: org.hamcrest:hamcrest-core:1.3</last-edited>
641
+          <splitter-proportions>
642
+            <option name="proportions">
643
+              <list>
644
+                <option value="0.2" />
645
+              </list>
646
+            </option>
647
+          </splitter-proportions>
648
+        </settings>
649
+      </state>
650
+    </states>
651
+  </component>
652
+</project>

+ 16
- 0
generics.iml Zobrazit soubor

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

@@ -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>1.8</source>
17
+                    <target>1.8</target>
18 18
                 </configuration>
19 19
             </plugin>
20 20
         </plugins>

+ 122
- 0
src/main/java/MyArrayList.java Zobrazit soubor

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

+ 88
- 0
src/main/java/MyMap.java Zobrazit soubor

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

+ 57
- 0
src/main/java/MySet.java Zobrazit soubor

@@ -0,0 +1,57 @@
1
+import java.util.Collection;
2
+
3
+public class MySet<T> {
4
+
5
+    private MyArrayList <T>mySet;
6
+
7
+    public MySet(){
8
+        this.mySet = new MyArrayList<>();
9
+
10
+    }
11
+
12
+    public boolean add (T element){
13
+        if (!mySet.contains(element)){
14
+            mySet.add(element);
15
+            return true;
16
+        }
17
+
18
+    return false;
19
+
20
+    }
21
+    public boolean addAll( Collection<T> element){
22
+        for (T o: element){
23
+            this.add((T) element);
24
+            return true;
25
+        }
26
+
27
+       return false;
28
+    }
29
+    public void clear (){
30
+
31
+
32
+
33
+    }
34
+    public boolean contains(T element){
35
+
36
+
37
+        }
38
+        return false;
39
+    }
40
+    public boolean equals(){
41
+        return false;
42
+    }
43
+    public int hasCode(){
44
+        return 0;
45
+    }
46
+    public  boolean isEmpty(){
47
+        return false;
48
+
49
+    }
50
+    public void remove(T object){
51
+
52
+    }
53
+    public int size(){
54
+        return mySet.size();
55
+    }
56
+
57
+}

+ 29
- 0
src/main/java/Person.java Zobrazit soubor

@@ -0,0 +1,29 @@
1
+public class Person {
2
+    private  String name;
3
+    private int id;
4
+
5
+    public Person() {
6
+
7
+    }
8
+
9
+    public Person(String name, int id) {
10
+        this.name = name;
11
+        this.id = id;
12
+    }
13
+
14
+    public String getName() {
15
+        return name;
16
+    }
17
+
18
+    public void setName(String name) {
19
+        this.name = name;
20
+    }
21
+
22
+    public int getId() {
23
+        return id;
24
+    }
25
+
26
+    public void setId(int id) {
27
+        this.id = id;
28
+    }
29
+}

+ 126
- 0
src/test/java/TestMyArrayList.java Zobrazit soubor

@@ -0,0 +1,126 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+public class TestMyArrayList {
5
+
6
+    Person person1 = new Person("Itchigo", 1);
7
+    Person person2 = new Person("Orehime",2);
8
+    Person person3 = new Person("Rengi",3);
9
+
10
+    @Test
11
+    public void testSize(){
12
+        MyArrayList arrayList = new MyArrayList();
13
+       int expected = 1;
14
+       arrayList.add("Welcome to  myArrayList");
15
+        Assert.assertEquals(expected, arrayList.size());
16
+    }
17
+
18
+    @Test
19
+    public void testAdd(){
20
+        MyArrayList arrayList = new MyArrayList();
21
+
22
+        arrayList.add("I Know more" );
23
+        arrayList.add("than the Hello world program ");
24
+         arrayList.add("in java");
25
+
26
+         int expected = 3;
27
+         Assert.assertEquals(expected, arrayList.size());
28
+    }
29
+    @Test
30
+    public  void setTest(){
31
+        MyArrayList arrayList = new MyArrayList();
32
+
33
+        arrayList.add("I Know more" );
34
+        arrayList.add("than the Hello world program ");
35
+        arrayList.add("in java");
36
+
37
+        arrayList.set(0,"I will");
38
+
39
+
40
+        Assert.assertTrue(arrayList.contains("I will"));
41
+    }
42
+    @Test
43
+    public  void getTest(){
44
+        MyArrayList arrayList = new MyArrayList();
45
+
46
+        arrayList.add("I Know more" );
47
+        arrayList.add("than the Hello world program ");
48
+        arrayList.add("in java");
49
+
50
+
51
+        String expected = "I Know more";
52
+
53
+
54
+        Assert.assertEquals(expected,arrayList.get(0));
55
+    }
56
+
57
+
58
+
59
+
60
+
61
+    @Test
62
+    public void testRemove(){
63
+        MyArrayList arrayList = new MyArrayList();
64
+        arrayList.add("I Know more" );
65
+        arrayList.add("than the Hello world program ");
66
+        arrayList.add("in java" );
67
+
68
+        int expected = 2;
69
+        arrayList.remove(1);
70
+
71
+
72
+         Assert.assertEquals(expected, arrayList.size());
73
+    }
74
+    @Test
75
+     public void containTest (){
76
+        MyArrayList myArrayList = new MyArrayList();
77
+        myArrayList.add(1);
78
+        myArrayList.add(66);
79
+        myArrayList.add(20);
80
+
81
+       Assert.assertTrue(myArrayList.contains(20));
82
+
83
+ }
84
+
85
+    @Test
86
+    public void containTestFalse (){
87
+        MyArrayList myArrayList = new MyArrayList();
88
+        myArrayList.add(1);
89
+        myArrayList.add(66);
90
+        myArrayList.add(20);
91
+
92
+        Assert.assertFalse(myArrayList.contains(7));
93
+
94
+
95
+    }
96
+
97
+    @Test
98
+    public void isEmptyTest(){
99
+        MyArrayList myArrayList = new MyArrayList();
100
+        Assert.assertTrue(myArrayList.isEmpty());
101
+
102
+    }
103
+    @Test
104
+    public void isNotEmptyTest(){
105
+        MyArrayList myArrayList = new MyArrayList();
106
+        myArrayList.add(person1);
107
+        myArrayList.add(person2);
108
+        myArrayList.add(person3);
109
+
110
+        Assert.assertFalse(myArrayList.isEmpty());
111
+
112
+    }
113
+    @Test
114
+    public void clearTest(){
115
+        MyArrayList myArrayList = new MyArrayList();
116
+        myArrayList.add(person1);
117
+        myArrayList.add(person2);
118
+        myArrayList.add(person3);
119
+        myArrayList.clear();
120
+
121
+
122
+        Assert.assertTrue(myArrayList.isEmpty());
123
+
124
+    }
125
+}
126
+

+ 2
- 0
src/test/java/TestMyMap.java Zobrazit soubor

@@ -0,0 +1,2 @@
1
+public class TestMyMap {
2
+}

+ 2
- 0
src/test/java/TestMySet.java Zobrazit soubor

@@ -0,0 +1,2 @@
1
+public class TestMySet {
2
+}

+ 21
- 0
src/test/java/TestPerson.java Zobrazit soubor

@@ -0,0 +1,21 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+public class TestPerson {
5
+    Person person = new Person();
6
+    @Test
7
+    public void setPersonName(){
8
+        person.setName("Ichigo");
9
+        String expected = "Ichigo";
10
+        Assert.assertEquals(expected,person.getName());
11
+
12
+    }
13
+
14
+    @Test
15
+    public void setPersonId(){
16
+        person.setId(3);
17
+        int expected = 3;
18
+        Assert.assertEquals(expected,person.getId());
19
+
20
+    }
21
+}