Selaa lähdekoodia

Completed Lab

NiraParikh 6 vuotta sitten
vanhempi
commit
60b55a9b5a

+ 124
- 0
.idea/uiDesigner.xml Näytä tiedosto

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>

+ 317
- 230
.idea/workspace.xml Näytä tiedosto

2
 <project version="4">
2
 <project version="4">
3
   <component name="ChangeListManager">
3
   <component name="ChangeListManager">
4
     <list default="true" id="ac1bf5b2-4c7f-4a95-bc39-d60020b9fb88" name="Default Changelist" comment="">
4
     <list default="true" id="ac1bf5b2-4c7f-4a95-bc39-d60020b9fb88" name="Default Changelist" comment="">
5
-      <change afterPath="$PROJECT_DIR$/.idea/encodings.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/modules.xml" afterDir="false" />
9
-      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java" afterDir="false" />
10
-      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java" afterDir="false" />
11
-      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java" afterDir="false" />
12
-      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java" afterDir="false" />
13
-      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java" afterDir="false" />
14
-      <change afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java" afterDir="false" />
15
-      <change afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudent.java" afterDir="false" />
5
+      <change afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
6
+      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java" afterDir="false" />
7
+      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Students.java" afterDir="false" />
8
+      <change afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/ZipcodeWilmington.java" afterDir="false" />
9
+      <change afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructors.java" afterDir="false" />
10
+      <change afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPeople.java" afterDir="false" />
11
+      <change afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudents.java" afterDir="false" />
12
+      <change afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestZipCodeWilmington.java" afterDir="false" />
13
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
14
+      <change beforePath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java" afterDir="false" />
15
+      <change beforePath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java" afterDir="false" />
16
       <change beforePath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" afterDir="false" />
16
       <change beforePath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" afterDir="false" />
17
+      <change beforePath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java" afterDir="false" />
18
+      <change beforePath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java" afterDir="false" />
19
+      <change beforePath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java" afterDir="false" />
17
       <change beforePath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" afterDir="false" />
20
       <change beforePath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" afterDir="false" />
21
+      <change beforePath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudent.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudent.java" afterDir="false" />
18
     </list>
22
     </list>
19
     <ignored path="$PROJECT_DIR$/target/" />
23
     <ignored path="$PROJECT_DIR$/target/" />
20
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
24
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
27
     <session id="929037324">
31
     <session id="929037324">
28
       <usages-collector id="statistics.lifecycle.project">
32
       <usages-collector id="statistics.lifecycle.project">
29
         <counts>
33
         <counts>
30
-          <entry key="project.closed" value="1" />
31
-          <entry key="project.open.time.1" value="1" />
32
-          <entry key="project.opened" value="1" />
34
+          <entry key="project.closed" value="5" />
35
+          <entry key="project.open.time.1" value="2" />
36
+          <entry key="project.open.time.2" value="3" />
37
+          <entry key="project.opened" value="5" />
33
         </counts>
38
         </counts>
34
       </usages-collector>
39
       </usages-collector>
35
       <usages-collector id="statistics.file.extensions.open">
40
       <usages-collector id="statistics.file.extensions.open">
36
         <counts>
41
         <counts>
37
-          <entry key="java" value="9" />
38
-          <entry key="md" value="1" />
42
+          <entry key="java" value="56" />
43
+          <entry key="md" value="8" />
39
         </counts>
44
         </counts>
40
       </usages-collector>
45
       </usages-collector>
41
       <usages-collector id="statistics.file.types.open">
46
       <usages-collector id="statistics.file.types.open">
42
         <counts>
47
         <counts>
43
-          <entry key="JAVA" value="9" />
44
-          <entry key="Markdown" value="1" />
48
+          <entry key="JAVA" value="56" />
49
+          <entry key="Markdown" value="8" />
45
         </counts>
50
         </counts>
46
       </usages-collector>
51
       </usages-collector>
47
       <usages-collector id="statistics.file.extensions.edit">
52
       <usages-collector id="statistics.file.extensions.edit">
48
         <counts>
53
         <counts>
49
-          <entry key="java" value="4125" />
54
+          <entry key="dummy" value="1" />
55
+          <entry key="java" value="7189" />
50
         </counts>
56
         </counts>
51
       </usages-collector>
57
       </usages-collector>
52
       <usages-collector id="statistics.file.types.edit">
58
       <usages-collector id="statistics.file.types.edit">
53
         <counts>
59
         <counts>
54
-          <entry key="JAVA" value="4125" />
60
+          <entry key="JAVA" value="7189" />
61
+          <entry key="PLAIN_TEXT" value="1" />
55
         </counts>
62
         </counts>
56
       </usages-collector>
63
       </usages-collector>
57
     </session>
64
     </session>
58
   </component>
65
   </component>
59
   <component name="FileEditorManager">
66
   <component name="FileEditorManager">
60
-    <leaf>
67
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
61
       <file pinned="false" current-in-tab="false">
68
       <file pinned="false" current-in-tab="false">
62
-        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java">
69
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Students.java">
63
           <provider selected="true" editor-type-id="text-editor">
70
           <provider selected="true" editor-type-id="text-editor">
64
-            <state relative-caret-position="405">
65
-              <caret line="27" selection-start-line="27" selection-end-line="27" />
71
+            <state relative-caret-position="653">
72
+              <caret line="49" column="38" selection-start-line="49" selection-start-column="27" selection-end-line="49" selection-end-column="38" />
73
+            </state>
74
+          </provider>
75
+        </entry>
76
+      </file>
77
+      <file pinned="false" current-in-tab="true">
78
+        <entry file="file://$PROJECT_DIR$/README.md">
79
+          <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
80
+            <state split_layout="SECOND">
81
+              <first_editor />
82
+              <second_editor />
83
+            </state>
84
+          </provider>
85
+        </entry>
86
+      </file>
87
+      <file pinned="false" current-in-tab="false">
88
+        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/ZipcodeWilmington.java">
89
+          <provider selected="true" editor-type-id="text-editor">
90
+            <state relative-caret-position="195">
91
+              <caret line="15" selection-start-line="15" selection-end-line="15" />
92
+            </state>
93
+          </provider>
94
+        </entry>
95
+      </file>
96
+      <file pinned="false" current-in-tab="false">
97
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java">
98
+          <provider selected="true" editor-type-id="text-editor">
99
+            <state relative-caret-position="495">
100
+              <caret line="45" column="36" selection-start-line="45" selection-start-column="36" selection-end-line="45" selection-end-column="36" />
101
+              <folding>
102
+                <element signature="imports" expanded="true" />
103
+                <element signature="e#479#480#0" expanded="true" />
104
+                <element signature="e#543#544#0" expanded="true" />
105
+                <element signature="method#testTeach#0;class#TestInstructor#0" />
106
+              </folding>
107
+            </state>
108
+          </provider>
109
+        </entry>
110
+      </file>
111
+      <file pinned="false" current-in-tab="false">
112
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructors.java">
113
+          <provider selected="true" editor-type-id="text-editor">
114
+            <state relative-caret-position="300">
115
+              <caret line="20" column="43" selection-start-line="20" selection-start-column="43" selection-end-line="20" selection-end-column="43" />
66
               <folding>
116
               <folding>
67
-                <element signature="e#235#236#0" expanded="true" />
68
-                <element signature="e#263#264#0" expanded="true" />
69
-                <element signature="e#231#232#0" expanded="true" />
70
-                <element signature="e#256#257#0" expanded="true" />
71
-                <element signature="e#292#293#0" expanded="true" />
72
-                <element signature="e#316#317#0" expanded="true" />
73
-                <element signature="e#351#352#0" expanded="true" />
74
-                <element signature="e#383#384#0" expanded="true" />
117
+                <element signature="imports" expanded="true" />
75
               </folding>
118
               </folding>
76
             </state>
119
             </state>
77
           </provider>
120
           </provider>
78
         </entry>
121
         </entry>
79
       </file>
122
       </file>
80
       <file pinned="false" current-in-tab="false">
123
       <file pinned="false" current-in-tab="false">
81
-        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
124
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java">
82
           <provider selected="true" editor-type-id="text-editor">
125
           <provider selected="true" editor-type-id="text-editor">
83
             <state relative-caret-position="315">
126
             <state relative-caret-position="315">
84
-              <caret line="21" column="1" lean-forward="true" selection-start-line="21" selection-start-column="1" selection-end-line="21" selection-end-column="1" />
127
+              <caret line="21" column="8" selection-start-line="21" selection-start-column="8" selection-end-line="21" selection-end-column="8" />
85
               <folding>
128
               <folding>
86
-                <element signature="e#260#261#0" expanded="true" />
87
-                <element signature="e#289#290#0" expanded="true" />
88
-                <element signature="e#333#334#0" expanded="true" />
89
-                <element signature="e#361#362#0" expanded="true" />
90
-                <element signature="e#404#405#0" expanded="true" />
91
-                <element signature="e#451#452#0" expanded="true" />
129
+                <element signature="imports" expanded="true" />
92
               </folding>
130
               </folding>
93
             </state>
131
             </state>
94
           </provider>
132
           </provider>
95
         </entry>
133
         </entry>
96
       </file>
134
       </file>
97
       <file pinned="false" current-in-tab="false">
135
       <file pinned="false" current-in-tab="false">
98
-        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java">
136
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudent.java">
99
           <provider selected="true" editor-type-id="text-editor">
137
           <provider selected="true" editor-type-id="text-editor">
100
-            <state relative-caret-position="90">
101
-              <caret line="6" column="62" selection-start-line="6" selection-start-column="62" selection-end-line="6" selection-end-column="62" />
138
+            <state relative-caret-position="195">
139
+              <caret line="13" selection-start-line="13" selection-end-line="13" />
140
+              <folding>
141
+                <element signature="imports" expanded="true" />
142
+              </folding>
102
             </state>
143
             </state>
103
           </provider>
144
           </provider>
104
         </entry>
145
         </entry>
105
       </file>
146
       </file>
106
       <file pinned="false" current-in-tab="false">
147
       <file pinned="false" current-in-tab="false">
107
-        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
148
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudents.java">
108
           <provider selected="true" editor-type-id="text-editor">
149
           <provider selected="true" editor-type-id="text-editor">
109
-            <state relative-caret-position="345">
110
-              <caret line="23" column="5" lean-forward="true" selection-start-line="23" selection-start-column="5" selection-end-line="23" selection-end-column="5" />
150
+            <state relative-caret-position="270">
151
+              <caret line="18" column="25" selection-start-line="18" selection-start-column="25" selection-end-line="18" selection-end-column="25" />
111
               <folding>
152
               <folding>
112
-                <element signature="e#138#139#0" expanded="true" />
113
-                <element signature="e#169#170#0" expanded="true" />
114
-                <element signature="e#203#204#0" expanded="true" />
115
-                <element signature="e#228#229#0" expanded="true" />
153
+                <element signature="imports" expanded="true" />
116
               </folding>
154
               </folding>
117
             </state>
155
             </state>
118
           </provider>
156
           </provider>
119
         </entry>
157
         </entry>
120
       </file>
158
       </file>
121
-      <file pinned="false" current-in-tab="true">
122
-        <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java">
159
+      <file pinned="false" current-in-tab="false">
160
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestZipCodeWilmington.java">
123
           <provider selected="true" editor-type-id="text-editor">
161
           <provider selected="true" editor-type-id="text-editor">
124
-            <state relative-caret-position="28">
125
-              <caret line="6" column="60" lean-forward="true" selection-start-line="6" selection-start-column="60" selection-end-line="6" selection-end-column="60" />
162
+            <state relative-caret-position="345">
163
+              <caret line="23" column="4" selection-start-line="23" selection-start-column="4" selection-end-line="23" selection-end-column="4" />
126
               <folding>
164
               <folding>
127
-                <element signature="e#134#142#0" expanded="true" />
128
-                <element signature="e#486#487#0" expanded="true" />
129
-                <element signature="e#535#536#0" expanded="true" />
165
+                <element signature="imports" expanded="true" />
130
               </folding>
166
               </folding>
131
             </state>
167
             </state>
132
           </provider>
168
           </provider>
133
         </entry>
169
         </entry>
134
       </file>
170
       </file>
135
       <file pinned="false" current-in-tab="false">
171
       <file pinned="false" current-in-tab="false">
136
-        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java">
172
+        <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPeople.java">
137
           <provider selected="true" editor-type-id="text-editor">
173
           <provider selected="true" editor-type-id="text-editor">
138
-            <state relative-caret-position="403">
139
-              <caret line="47" column="96" selection-start-line="47" selection-start-column="96" selection-end-line="47" selection-end-column="96" />
174
+            <state relative-caret-position="750">
175
+              <caret line="50" column="32" selection-start-line="50" selection-start-column="32" selection-end-line="50" selection-end-column="32" />
140
               <folding>
176
               <folding>
141
                 <element signature="imports" expanded="true" />
177
                 <element signature="imports" expanded="true" />
142
-                <element signature="e#164#165#0" expanded="true" />
143
-                <element signature="e#228#229#0" expanded="true" />
144
-                <element signature="e#333#334#0" expanded="true" />
145
-                <element signature="e#355#356#0" expanded="true" />
146
               </folding>
178
               </folding>
147
             </state>
179
             </state>
148
           </provider>
180
           </provider>
154
     <option name="RECENT_TEMPLATES">
186
     <option name="RECENT_TEMPLATES">
155
       <list>
187
       <list>
156
         <option value="Interface" />
188
         <option value="Interface" />
189
+        <option value="Singleton" />
157
         <option value="Class" />
190
         <option value="Class" />
158
       </list>
191
       </list>
159
     </option>
192
     </option>
165
     <option name="CHANGED_PATHS">
198
     <option name="CHANGED_PATHS">
166
       <list>
199
       <list>
167
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java" />
200
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java" />
168
-        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java" />
169
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" />
201
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java" />
170
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudent.java" />
202
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudent.java" />
203
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Stud_ents.java" />
204
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java" />
205
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java" />
171
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" />
206
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java" />
172
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java" />
207
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java" />
208
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java" />
173
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java" />
209
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java" />
210
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/ZipcodeWilmington.java" />
211
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Students.java" />
212
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructors.java" />
213
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPeople.java" />
214
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestZipCodeWilmington.java" />
215
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudents.java" />
174
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java" />
216
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java" />
175
-        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java" />
176
       </list>
217
       </list>
177
     </option>
218
     </option>
178
   </component>
219
   </component>
182
     <detection-done>true</detection-done>
223
     <detection-done>true</detection-done>
183
     <sorting>DEFINITION_ORDER</sorting>
224
     <sorting>DEFINITION_ORDER</sorting>
184
   </component>
225
   </component>
185
-  <component name="ProjectFrameBounds">
186
-    <option name="y" value="86" />
226
+  <component name="ProjectFrameBounds" fullScreen="true">
227
+    <option name="x" value="314" />
228
+    <option name="y" value="33" />
187
     <option name="width" value="1280" />
229
     <option name="width" value="1280" />
188
     <option name="height" value="722" />
230
     <option name="height" value="722" />
189
   </component>
231
   </component>
195
       <foldersAlwaysOnTop value="true" />
237
       <foldersAlwaysOnTop value="true" />
196
     </navigator>
238
     </navigator>
197
     <panes>
239
     <panes>
198
-      <pane id="PackagesPane" />
199
       <pane id="ProjectPane">
240
       <pane id="ProjectPane">
200
         <subPane>
241
         <subPane>
201
           <expand>
242
           <expand>
255
         </subPane>
296
         </subPane>
256
       </pane>
297
       </pane>
257
       <pane id="Scope" />
298
       <pane id="Scope" />
299
+      <pane id="PackagesPane" />
258
     </panes>
300
     </panes>
259
   </component>
301
   </component>
260
   <component name="PropertiesComponent">
302
   <component name="PropertiesComponent">
261
     <property name="WebServerToolWindowFactoryState" value="false" />
303
     <property name="WebServerToolWindowFactoryState" value="false" />
262
     <property name="aspect.path.notification.shown" value="true" />
304
     <property name="aspect.path.notification.shown" value="true" />
263
-    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542398624266" />
305
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542681159686" />
264
     <property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
306
     <property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
265
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
307
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
266
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
308
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
268
     <property name="project.structure.proportion" value="0.0" />
310
     <property name="project.structure.proportion" value="0.0" />
269
     <property name="project.structure.side.proportion" value="0.0" />
311
     <property name="project.structure.side.proportion" value="0.0" />
270
   </component>
312
   </component>
313
+  <component name="RecentsManager">
314
+    <key name="CreateClassDialog.RecentsKey">
315
+      <recent name="io.zipcoder.interfaces" />
316
+    </key>
317
+  </component>
271
   <component name="RunDashboard">
318
   <component name="RunDashboard">
272
     <option name="ruleStates">
319
     <option name="ruleStates">
273
       <list>
320
       <list>
280
       </list>
327
       </list>
281
     </option>
328
     </option>
282
   </component>
329
   </component>
283
-  <component name="RunManager" selected="JUnit.TestInstructor.testLecture">
284
-    <configuration name="TestInstructor.testImplementation" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
330
+  <component name="RunManager" selected="JUnit.All in interfaces-1">
331
+    <configuration name="All in interfaces-1" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
285
       <module name="interfaces-1" />
332
       <module name="interfaces-1" />
286
-      <extension name="coverage">
287
-        <pattern>
288
-          <option name="PATTERN" value="io.zipcoder.interfaces.*" />
289
-          <option name="ENABLED" value="true" />
290
-        </pattern>
291
-      </extension>
292
-      <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
293
-      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestInstructor" />
294
-      <option name="METHOD_NAME" value="testImplementation" />
295
-      <option name="TEST_OBJECT" value="method" />
333
+      <option name="PACKAGE_NAME" value="" />
334
+      <option name="TEST_OBJECT" value="package" />
296
       <method v="2">
335
       <method v="2">
297
         <option name="Make" enabled="true" />
336
         <option name="Make" enabled="true" />
298
       </method>
337
       </method>
299
     </configuration>
338
     </configuration>
300
-    <configuration name="TestInstructor.testInheritance" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
339
+    <configuration name="TestStudent" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
301
       <module name="interfaces-1" />
340
       <module name="interfaces-1" />
302
       <extension name="coverage">
341
       <extension name="coverage">
303
         <pattern>
342
         <pattern>
306
         </pattern>
345
         </pattern>
307
       </extension>
346
       </extension>
308
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
347
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
309
-      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestInstructor" />
310
-      <option name="METHOD_NAME" value="testInheritance" />
311
-      <option name="TEST_OBJECT" value="method" />
348
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestStudent" />
312
       <method v="2">
349
       <method v="2">
313
         <option name="Make" enabled="true" />
350
         <option name="Make" enabled="true" />
314
       </method>
351
       </method>
315
     </configuration>
352
     </configuration>
316
-    <configuration name="TestInstructor.testLecture" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
353
+    <configuration name="TestStudents" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
317
       <module name="interfaces-1" />
354
       <module name="interfaces-1" />
318
       <extension name="coverage">
355
       <extension name="coverage">
319
         <pattern>
356
         <pattern>
322
         </pattern>
359
         </pattern>
323
       </extension>
360
       </extension>
324
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
361
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
325
-      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestInstructor" />
326
-      <option name="METHOD_NAME" value="testLecture" />
327
-      <option name="TEST_OBJECT" value="method" />
362
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestStudents" />
328
       <method v="2">
363
       <method v="2">
329
         <option name="Make" enabled="true" />
364
         <option name="Make" enabled="true" />
330
       </method>
365
       </method>
331
     </configuration>
366
     </configuration>
332
-    <configuration name="TestInstructor.testTeach" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
367
+    <configuration name="TestZipCodeWilmington" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
333
       <module name="interfaces-1" />
368
       <module name="interfaces-1" />
334
       <extension name="coverage">
369
       <extension name="coverage">
335
         <pattern>
370
         <pattern>
338
         </pattern>
373
         </pattern>
339
       </extension>
374
       </extension>
340
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
375
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
341
-      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestInstructor" />
342
-      <option name="METHOD_NAME" value="testTeach" />
343
-      <option name="TEST_OBJECT" value="method" />
376
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestZipCodeWilmington" />
344
       <method v="2">
377
       <method v="2">
345
         <option name="Make" enabled="true" />
378
         <option name="Make" enabled="true" />
346
       </method>
379
       </method>
347
     </configuration>
380
     </configuration>
348
-    <configuration name="TestPerson" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
381
+    <configuration name="TestZipCodeWilmington.hostLecture" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
349
       <module name="interfaces-1" />
382
       <module name="interfaces-1" />
350
       <extension name="coverage">
383
       <extension name="coverage">
351
         <pattern>
384
         <pattern>
354
         </pattern>
387
         </pattern>
355
       </extension>
388
       </extension>
356
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
389
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
357
-      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestPerson" />
390
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestZipCodeWilmington" />
391
+      <option name="METHOD_NAME" value="hostLecture" />
392
+      <option name="TEST_OBJECT" value="method" />
358
       <method v="2">
393
       <method v="2">
359
         <option name="Make" enabled="true" />
394
         <option name="Make" enabled="true" />
360
       </method>
395
       </method>
422
       <method v="2" />
457
       <method v="2" />
423
     </configuration>
458
     </configuration>
424
     <list>
459
     <list>
425
-      <item itemvalue="JUnit.TestPerson" />
426
-      <item itemvalue="JUnit.TestInstructor.testImplementation" />
427
-      <item itemvalue="JUnit.TestInstructor.testTeach" />
428
-      <item itemvalue="JUnit.TestInstructor.testInheritance" />
429
-      <item itemvalue="JUnit.TestInstructor.testLecture" />
460
+      <item itemvalue="JUnit.TestStudent" />
461
+      <item itemvalue="JUnit.TestStudents" />
462
+      <item itemvalue="JUnit.TestZipCodeWilmington" />
463
+      <item itemvalue="JUnit.All in interfaces-1" />
464
+      <item itemvalue="JUnit.TestZipCodeWilmington.hostLecture" />
430
     </list>
465
     </list>
431
     <recent_temporary>
466
     <recent_temporary>
432
       <list>
467
       <list>
433
-        <item itemvalue="JUnit.TestInstructor.testLecture" />
434
-        <item itemvalue="JUnit.TestInstructor.testInheritance" />
435
-        <item itemvalue="JUnit.TestInstructor.testImplementation" />
436
-        <item itemvalue="JUnit.TestInstructor.testTeach" />
437
-        <item itemvalue="JUnit.TestPerson" />
468
+        <item itemvalue="JUnit.All in interfaces-1" />
469
+        <item itemvalue="JUnit.TestZipCodeWilmington.hostLecture" />
470
+        <item itemvalue="JUnit.TestZipCodeWilmington" />
471
+        <item itemvalue="JUnit.TestStudents" />
472
+        <item itemvalue="JUnit.TestStudent" />
438
       </list>
473
       </list>
439
     </recent_temporary>
474
     </recent_temporary>
440
   </component>
475
   </component>
449
       <option name="presentableId" value="Default" />
484
       <option name="presentableId" value="Default" />
450
       <updated>1542340589455</updated>
485
       <updated>1542340589455</updated>
451
       <workItem from="1542340590829" duration="14354000" />
486
       <workItem from="1542340590829" duration="14354000" />
487
+      <workItem from="1542510325637" duration="1422000" />
488
+      <workItem from="1542651993534" duration="6032000" />
489
+      <workItem from="1542667650164" duration="5986000" />
490
+      <workItem from="1542681307223" duration="49000" />
452
     </task>
491
     </task>
453
     <servers />
492
     <servers />
454
   </component>
493
   </component>
455
   <component name="TestHistory">
494
   <component name="TestHistory">
456
-    <history-entry file="TestStudent_testLearn - 2018.11.16 at 09h 26m 16s.xml">
457
-      <configuration name="TestStudent.testLearn" configurationId="JUnit" />
495
+    <history-entry file="TestPerson - 2018.11.19 at 21h 18m 48s.xml">
496
+      <configuration name="TestPerson" configurationId="JUnit" />
458
     </history-entry>
497
     </history-entry>
459
-    <history-entry file="TestStudent - 2018.11.16 at 09h 27m 35s.xml">
498
+    <history-entry file="TestStudent - 2018.11.19 at 21h 19m 05s.xml">
460
       <configuration name="TestStudent" configurationId="JUnit" />
499
       <configuration name="TestStudent" configurationId="JUnit" />
461
     </history-entry>
500
     </history-entry>
462
-    <history-entry file="TestStudent - 2018.11.16 at 09h 27m 45s.xml">
463
-      <configuration name="TestStudent" configurationId="JUnit" />
501
+    <history-entry file="TestStudents - 2018.11.19 at 21h 23m 08s.xml">
502
+      <configuration name="TestStudents" configurationId="JUnit" />
464
     </history-entry>
503
     </history-entry>
465
-    <history-entry file="TestPerson - 2018.11.16 at 09h 27m 52s.xml">
466
-      <configuration name="TestPerson" configurationId="JUnit" />
504
+    <history-entry file="TestZipCodeWilmington - 2018.11.19 at 21h 29m 34s.xml">
505
+      <configuration name="TestZipCodeWilmington" configurationId="JUnit" />
467
     </history-entry>
506
     </history-entry>
468
-    <history-entry file="TestInstructor_testTeach - 2018.11.16 at 11h 46m 59s.xml">
469
-      <configuration name="TestInstructor.testTeach" configurationId="JUnit" />
507
+    <history-entry file="All_in_interfaces-1 - 2018.11.19 at 21h 29m 49s.xml">
508
+      <configuration name="All in interfaces-1" configurationId="JUnit" />
470
     </history-entry>
509
     </history-entry>
471
-    <history-entry file="TestInstructor_testImplementation - 2018.11.16 at 11h 47m 06s.xml">
472
-      <configuration name="TestInstructor.testImplementation" configurationId="JUnit" />
510
+    <history-entry file="TestZipCodeWilmington_hostLecture - 2018.11.19 at 21h 30m 06s.xml">
511
+      <configuration name="TestZipCodeWilmington.hostLecture" configurationId="JUnit" />
473
     </history-entry>
512
     </history-entry>
474
-    <history-entry file="TestInstructor_testInheritance - 2018.11.16 at 11h 47m 09s.xml">
475
-      <configuration name="TestInstructor.testInheritance" configurationId="JUnit" />
513
+    <history-entry file="TestZipCodeWilmington_hostLecture - 2018.11.19 at 21h 30m 58s.xml">
514
+      <configuration name="TestZipCodeWilmington.hostLecture" configurationId="JUnit" />
476
     </history-entry>
515
     </history-entry>
477
-    <history-entry file="TestInstructor_testLecture - 2018.11.16 at 11h 48m 34s.xml">
478
-      <configuration name="TestInstructor.testLecture" configurationId="JUnit" />
516
+    <history-entry file="All_in_interfaces-1 - 2018.11.19 at 21h 31m 03s.xml">
517
+      <configuration name="All in interfaces-1" configurationId="JUnit" />
479
     </history-entry>
518
     </history-entry>
480
-    <history-entry file="TestInstructor_testLecture - 2018.11.16 at 12h 13m 14s.xml">
481
-      <configuration name="TestInstructor.testLecture" configurationId="JUnit" />
519
+    <history-entry file="All_in_interfaces-1 - 2018.11.19 at 21h 32m 04s.xml">
520
+      <configuration name="All in interfaces-1" configurationId="JUnit" />
482
     </history-entry>
521
     </history-entry>
483
-    <history-entry file="TestInstructor_testLecture - 2018.11.16 at 12h 13m 29s.xml">
484
-      <configuration name="TestInstructor.testLecture" configurationId="JUnit" />
522
+    <history-entry file="All_in_interfaces-1 - 2018.11.19 at 21h 32m 41s.xml">
523
+      <configuration name="All in interfaces-1" configurationId="JUnit" />
485
     </history-entry>
524
     </history-entry>
486
   </component>
525
   </component>
487
   <component name="TimeTrackingManager">
526
   <component name="TimeTrackingManager">
488
-    <option name="totallyTimeSpent" value="14354000" />
527
+    <option name="totallyTimeSpent" value="27843000" />
489
   </component>
528
   </component>
490
   <component name="ToolWindowManager">
529
   <component name="ToolWindowManager">
491
-    <frame x="0" y="86" width="1280" height="722" extended-state="0" />
530
+    <frame x="0" y="0" width="1280" height="800" extended-state="0" />
492
     <editor active="true" />
531
     <editor active="true" />
493
     <layout>
532
     <layout>
494
-      <window_info id="Image Layers" />
495
-      <window_info id="Designer" />
496
-      <window_info id="UI Designer" />
497
-      <window_info id="Capture Tool" />
498
-      <window_info id="Favorites" side_tool="true" />
499
-      <window_info content_ui="combo" id="Project" order="0" weight="0.24959612" />
533
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25767368" />
500
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
534
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
501
-      <window_info anchor="bottom" id="Messages" weight="0.32857144" />
502
-      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
503
-      <window_info anchor="bottom" id="Version Control" show_stripe_button="false" />
504
-      <window_info anchor="bottom" id="Terminal" />
505
-      <window_info anchor="bottom" id="Event Log" side_tool="true" />
535
+      <window_info id="Image Layers" order="2" />
536
+      <window_info id="Designer" order="3" />
537
+      <window_info id="UI Designer" order="4" />
538
+      <window_info id="Capture Tool" order="5" />
539
+      <window_info id="Favorites" order="6" side_tool="true" />
506
       <window_info anchor="bottom" id="Message" order="0" />
540
       <window_info anchor="bottom" id="Message" order="0" />
507
       <window_info anchor="bottom" id="Find" order="1" />
541
       <window_info anchor="bottom" id="Find" order="1" />
508
-      <window_info anchor="bottom" id="Run" order="2" weight="0.32857144" />
542
+      <window_info anchor="bottom" id="Run" order="2" weight="0.3068493" />
509
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
543
       <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
510
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
544
       <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
511
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
545
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
512
       <window_info anchor="bottom" id="TODO" order="6" />
546
       <window_info anchor="bottom" id="TODO" order="6" />
513
-      <window_info anchor="right" id="Palette" />
514
-      <window_info anchor="right" id="Theme Preview" />
515
-      <window_info anchor="right" id="Capture Analysis" />
516
-      <window_info anchor="right" id="Palette&#9;" />
517
-      <window_info anchor="right" id="SciView" />
518
-      <window_info anchor="right" id="Database" />
519
-      <window_info anchor="right" id="Maven Projects" />
547
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
548
+      <window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
549
+      <window_info anchor="bottom" id="Terminal" order="9" />
550
+      <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
551
+      <window_info anchor="bottom" id="Messages" order="11" weight="0.2849315" />
520
       <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
552
       <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
521
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
553
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
522
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
554
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
555
+      <window_info anchor="right" id="Palette" order="3" />
556
+      <window_info anchor="right" id="Capture Analysis" order="4" />
557
+      <window_info anchor="right" id="Database" order="5" />
558
+      <window_info anchor="right" id="Theme Preview" order="6" />
559
+      <window_info anchor="right" id="Palette&#9;" order="7" />
560
+      <window_info anchor="right" id="SciView" order="8" />
561
+      <window_info anchor="right" id="Maven Projects" order="9" />
523
     </layout>
562
     </layout>
524
     <layout-to-restore>
563
     <layout-to-restore>
525
-      <window_info id="Image Layers" order="0" />
526
-      <window_info id="Designer" order="1" />
527
-      <window_info id="UI Designer" order="2" />
528
-      <window_info id="Capture Tool" order="3" />
529
-      <window_info id="Favorites" order="4" side_tool="true" />
530
-      <window_info active="true" content_ui="combo" id="Project" order="5" visible="true" weight="0.24959612" />
531
-      <window_info id="Structure" order="6" side_tool="true" weight="0.25" />
532
-      <window_info anchor="bottom" id="Version Control" order="0" show_stripe_button="false" />
533
-      <window_info anchor="bottom" id="Terminal" order="1" />
534
-      <window_info anchor="bottom" id="Event Log" order="2" side_tool="true" />
535
-      <window_info anchor="bottom" id="Database Changes" order="3" show_stripe_button="false" />
536
-      <window_info anchor="bottom" id="Messages" order="4" weight="0.32857144" />
537
-      <window_info anchor="bottom" id="Message" order="5" />
538
-      <window_info anchor="bottom" id="Find" order="6" />
539
-      <window_info anchor="bottom" id="Run" order="7" visible="true" weight="0.32857144" />
540
-      <window_info anchor="bottom" id="Debug" order="8" weight="0.4" />
541
-      <window_info anchor="bottom" id="Cvs" order="9" weight="0.25" />
542
-      <window_info anchor="bottom" id="Inspection" order="10" weight="0.4" />
543
-      <window_info anchor="bottom" id="TODO" order="11" />
544
-      <window_info anchor="right" id="Palette" order="0" />
545
-      <window_info anchor="right" id="Capture Analysis" order="1" />
546
-      <window_info anchor="right" id="Database" order="2" />
547
-      <window_info anchor="right" id="Theme Preview" order="3" />
548
-      <window_info anchor="right" id="Palette&#9;" order="4" />
549
-      <window_info anchor="right" id="SciView" order="5" />
550
-      <window_info anchor="right" id="Maven Projects" order="6" />
551
-      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="7" type="SLIDING" weight="0.4" />
552
-      <window_info anchor="right" id="Ant Build" order="8" weight="0.25" />
553
-      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="9" weight="0.25" />
564
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.21173297" />
565
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
566
+      <window_info id="Image Layers" order="2" />
567
+      <window_info id="Designer" order="3" />
568
+      <window_info id="UI Designer" order="4" />
569
+      <window_info id="Capture Tool" order="5" />
570
+      <window_info id="Favorites" order="6" side_tool="true" />
571
+      <window_info anchor="bottom" id="Message" order="0" />
572
+      <window_info anchor="bottom" id="Find" order="1" />
573
+      <window_info anchor="bottom" id="Run" order="2" weight="0.32876712" />
574
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
575
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
576
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
577
+      <window_info anchor="bottom" id="TODO" order="6" />
578
+      <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
579
+      <window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
580
+      <window_info anchor="bottom" id="Terminal" order="9" />
581
+      <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
582
+      <window_info anchor="bottom" id="Messages" order="11" visible="true" weight="0.2857143" />
583
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
584
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
585
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
586
+      <window_info anchor="right" id="Palette" order="3" />
587
+      <window_info anchor="right" id="Capture Analysis" order="4" />
588
+      <window_info anchor="right" id="Database" order="5" />
589
+      <window_info anchor="right" id="Theme Preview" order="6" />
590
+      <window_info anchor="right" id="Palette&#9;" order="7" />
591
+      <window_info anchor="right" id="SciView" order="8" />
592
+      <window_info anchor="right" id="Maven Projects" order="9" />
554
     </layout-to-restore>
593
     </layout-to-restore>
555
   </component>
594
   </component>
556
   <component name="TypeScriptGeneratedFilesManager">
595
   <component name="TypeScriptGeneratedFilesManager">
560
     <option name="myLimit" value="2678400000" />
599
     <option name="myLimit" value="2678400000" />
561
   </component>
600
   </component>
562
   <component name="editorHistoryManager">
601
   <component name="editorHistoryManager">
563
-    <entry file="file://$PROJECT_DIR$/README.md">
564
-      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
565
-        <state split_layout="SECOND">
566
-          <first_editor />
567
-          <second_editor />
568
-        </state>
569
-      </provider>
570
-    </entry>
602
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Stud_ents.java" />
571
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java">
603
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java">
572
       <provider selected="true" editor-type-id="text-editor">
604
       <provider selected="true" editor-type-id="text-editor">
573
         <state relative-caret-position="30">
605
         <state relative-caret-position="30">
575
         </state>
607
         </state>
576
       </provider>
608
       </provider>
577
     </entry>
609
     </entry>
578
-    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java">
610
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java">
611
+      <provider selected="true" editor-type-id="text-editor">
612
+        <state relative-caret-position="163">
613
+          <caret line="23" column="37" lean-forward="true" selection-start-line="23" selection-start-column="37" selection-end-line="23" selection-end-column="37" />
614
+        </state>
615
+      </provider>
616
+    </entry>
617
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java">
618
+      <provider selected="true" editor-type-id="text-editor">
619
+        <state relative-caret-position="360">
620
+          <caret line="24" column="1" lean-forward="true" selection-start-line="24" selection-start-column="1" selection-end-line="24" selection-end-column="1" />
621
+          <folding>
622
+            <element signature="e#169#170#0" expanded="true" />
623
+            <element signature="e#203#204#0" expanded="true" />
624
+          </folding>
625
+        </state>
626
+      </provider>
627
+    </entry>
628
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
629
+      <provider selected="true" editor-type-id="text-editor">
630
+        <state relative-caret-position="330">
631
+          <caret line="26" column="1" lean-forward="true" selection-start-line="26" selection-start-column="1" selection-end-line="26" selection-end-column="1" />
632
+          <folding>
633
+            <element signature="e#138#139#0" expanded="true" />
634
+            <element signature="e#150#151#0" expanded="true" />
635
+            <element signature="e#193#194#0" expanded="true" />
636
+            <element signature="e#216#217#0" expanded="true" />
637
+            <element signature="e#404#405#0" expanded="true" />
638
+            <element signature="e#458#459#0" expanded="true" />
639
+          </folding>
640
+        </state>
641
+      </provider>
642
+    </entry>
643
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java">
644
+      <provider selected="true" editor-type-id="text-editor">
645
+        <state relative-caret-position="135">
646
+          <caret line="10" column="15" lean-forward="true" selection-start-line="10" selection-start-column="15" selection-end-line="10" selection-end-column="15" />
647
+        </state>
648
+      </provider>
649
+    </entry>
650
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java">
579
       <provider selected="true" editor-type-id="text-editor">
651
       <provider selected="true" editor-type-id="text-editor">
580
         <state relative-caret-position="150">
652
         <state relative-caret-position="150">
581
-          <caret line="10" column="9" lean-forward="true" selection-start-line="10" selection-start-column="9" selection-end-line="10" selection-end-column="9" />
653
+          <caret line="10" lean-forward="true" selection-start-line="10" selection-end-line="10" />
654
+        </state>
655
+      </provider>
656
+    </entry>
657
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Students.java">
658
+      <provider selected="true" editor-type-id="text-editor">
659
+        <state relative-caret-position="653">
660
+          <caret line="49" column="38" selection-start-line="49" selection-start-column="27" selection-end-line="49" selection-end-column="38" />
661
+        </state>
662
+      </provider>
663
+    </entry>
664
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
665
+      <provider selected="true" editor-type-id="text-editor">
666
+        <state relative-caret-position="240">
667
+          <caret line="18" selection-start-line="18" selection-end-line="18" />
582
           <folding>
668
           <folding>
583
-            <element signature="imports" expanded="true" />
669
+            <element signature="e#202#203#0" expanded="true" />
670
+            <element signature="e#227#228#0" expanded="true" />
584
           </folding>
671
           </folding>
585
         </state>
672
         </state>
586
       </provider>
673
       </provider>
587
     </entry>
674
     </entry>
588
-    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudent.java">
675
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/ZipcodeWilmington.java">
676
+      <provider selected="true" editor-type-id="text-editor">
677
+        <state relative-caret-position="195">
678
+          <caret line="15" selection-start-line="15" selection-end-line="15" />
679
+        </state>
680
+      </provider>
681
+    </entry>
682
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java">
589
       <provider selected="true" editor-type-id="text-editor">
683
       <provider selected="true" editor-type-id="text-editor">
590
-        <state relative-caret-position="167">
591
-          <caret line="20" column="54" lean-forward="true" selection-start-line="20" selection-start-column="54" selection-end-line="20" selection-end-column="54" />
684
+        <state relative-caret-position="495">
685
+          <caret line="45" column="36" selection-start-line="45" selection-start-column="36" selection-end-line="45" selection-end-column="36" />
592
           <folding>
686
           <folding>
593
             <element signature="imports" expanded="true" />
687
             <element signature="imports" expanded="true" />
688
+            <element signature="e#479#480#0" expanded="true" />
689
+            <element signature="e#543#544#0" expanded="true" />
690
+            <element signature="method#testTeach#0;class#TestInstructor#0" />
594
           </folding>
691
           </folding>
595
         </state>
692
         </state>
596
       </provider>
693
       </provider>
597
     </entry>
694
     </entry>
598
-    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java">
695
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructors.java">
599
       <provider selected="true" editor-type-id="text-editor">
696
       <provider selected="true" editor-type-id="text-editor">
600
-        <state relative-caret-position="405">
601
-          <caret line="27" selection-start-line="27" selection-end-line="27" />
697
+        <state relative-caret-position="300">
698
+          <caret line="20" column="43" selection-start-line="20" selection-start-column="43" selection-end-line="20" selection-end-column="43" />
602
           <folding>
699
           <folding>
603
-            <element signature="e#235#236#0" expanded="true" />
604
-            <element signature="e#263#264#0" expanded="true" />
605
-            <element signature="e#231#232#0" expanded="true" />
606
-            <element signature="e#256#257#0" expanded="true" />
607
-            <element signature="e#292#293#0" expanded="true" />
608
-            <element signature="e#316#317#0" expanded="true" />
609
-            <element signature="e#351#352#0" expanded="true" />
610
-            <element signature="e#383#384#0" expanded="true" />
700
+            <element signature="imports" expanded="true" />
611
           </folding>
701
           </folding>
612
         </state>
702
         </state>
613
       </provider>
703
       </provider>
614
     </entry>
704
     </entry>
615
-    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
705
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPerson.java">
616
       <provider selected="true" editor-type-id="text-editor">
706
       <provider selected="true" editor-type-id="text-editor">
617
         <state relative-caret-position="315">
707
         <state relative-caret-position="315">
618
-          <caret line="21" column="1" lean-forward="true" selection-start-line="21" selection-start-column="1" selection-end-line="21" selection-end-column="1" />
708
+          <caret line="21" column="8" selection-start-line="21" selection-start-column="8" selection-end-line="21" selection-end-column="8" />
619
           <folding>
709
           <folding>
620
-            <element signature="e#260#261#0" expanded="true" />
621
-            <element signature="e#289#290#0" expanded="true" />
622
-            <element signature="e#333#334#0" expanded="true" />
623
-            <element signature="e#361#362#0" expanded="true" />
624
-            <element signature="e#404#405#0" expanded="true" />
625
-            <element signature="e#451#452#0" expanded="true" />
710
+            <element signature="imports" expanded="true" />
626
           </folding>
711
           </folding>
627
         </state>
712
         </state>
628
       </provider>
713
       </provider>
629
     </entry>
714
     </entry>
630
-    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java">
715
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudent.java">
631
       <provider selected="true" editor-type-id="text-editor">
716
       <provider selected="true" editor-type-id="text-editor">
632
-        <state relative-caret-position="90">
633
-          <caret line="6" column="62" selection-start-line="6" selection-start-column="62" selection-end-line="6" selection-end-column="62" />
717
+        <state relative-caret-position="195">
718
+          <caret line="13" selection-start-line="13" selection-end-line="13" />
719
+          <folding>
720
+            <element signature="imports" expanded="true" />
721
+          </folding>
634
         </state>
722
         </state>
635
       </provider>
723
       </provider>
636
     </entry>
724
     </entry>
637
-    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java">
725
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudents.java">
638
       <provider selected="true" editor-type-id="text-editor">
726
       <provider selected="true" editor-type-id="text-editor">
639
-        <state relative-caret-position="403">
640
-          <caret line="47" column="96" selection-start-line="47" selection-start-column="96" selection-end-line="47" selection-end-column="96" />
727
+        <state relative-caret-position="270">
728
+          <caret line="18" column="25" selection-start-line="18" selection-start-column="25" selection-end-line="18" selection-end-column="25" />
641
           <folding>
729
           <folding>
642
             <element signature="imports" expanded="true" />
730
             <element signature="imports" expanded="true" />
643
-            <element signature="e#164#165#0" expanded="true" />
644
-            <element signature="e#228#229#0" expanded="true" />
645
-            <element signature="e#333#334#0" expanded="true" />
646
-            <element signature="e#355#356#0" expanded="true" />
647
           </folding>
731
           </folding>
648
         </state>
732
         </state>
649
       </provider>
733
       </provider>
650
     </entry>
734
     </entry>
651
-    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
735
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestZipCodeWilmington.java">
652
       <provider selected="true" editor-type-id="text-editor">
736
       <provider selected="true" editor-type-id="text-editor">
653
         <state relative-caret-position="345">
737
         <state relative-caret-position="345">
654
-          <caret line="23" column="5" lean-forward="true" selection-start-line="23" selection-start-column="5" selection-end-line="23" selection-end-column="5" />
738
+          <caret line="23" column="4" selection-start-line="23" selection-start-column="4" selection-end-line="23" selection-end-column="4" />
655
           <folding>
739
           <folding>
656
-            <element signature="e#138#139#0" expanded="true" />
657
-            <element signature="e#169#170#0" expanded="true" />
658
-            <element signature="e#203#204#0" expanded="true" />
659
-            <element signature="e#228#229#0" expanded="true" />
740
+            <element signature="imports" expanded="true" />
660
           </folding>
741
           </folding>
661
         </state>
742
         </state>
662
       </provider>
743
       </provider>
663
     </entry>
744
     </entry>
664
-    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java">
745
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPeople.java">
665
       <provider selected="true" editor-type-id="text-editor">
746
       <provider selected="true" editor-type-id="text-editor">
666
-        <state relative-caret-position="28">
667
-          <caret line="6" column="60" lean-forward="true" selection-start-line="6" selection-start-column="60" selection-end-line="6" selection-end-column="60" />
747
+        <state relative-caret-position="750">
748
+          <caret line="50" column="32" selection-start-line="50" selection-start-column="32" selection-end-line="50" selection-end-column="32" />
668
           <folding>
749
           <folding>
669
-            <element signature="e#134#142#0" expanded="true" />
670
-            <element signature="e#486#487#0" expanded="true" />
671
-            <element signature="e#535#536#0" expanded="true" />
750
+            <element signature="imports" expanded="true" />
672
           </folding>
751
           </folding>
673
         </state>
752
         </state>
674
       </provider>
753
       </provider>
675
     </entry>
754
     </entry>
755
+    <entry file="file://$PROJECT_DIR$/README.md">
756
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
757
+        <state split_layout="SECOND">
758
+          <first_editor />
759
+          <second_editor />
760
+        </state>
761
+      </provider>
762
+    </entry>
676
   </component>
763
   </component>
677
   <component name="masterDetails">
764
   <component name="masterDetails">
678
     <states>
765
     <states>

+ 7
- 3
src/main/java/io/zipcoder/interfaces/Instructor.java Näytä tiedosto

2
 
2
 
3
 public class Instructor extends Person implements Teacher {
3
 public class Instructor extends Person implements Teacher {
4
 
4
 
5
-    public Instructor(long id, String name) {
6
-        super(id, name);
5
+    public Instructor (String name,long id) {
6
+        super(name,id);
7
     }
7
     }
8
 
8
 
9
     public Instructor(long id) {
9
     public Instructor(long id) {
15
 
15
 
16
     }
16
     }
17
 
17
 
18
-    public void lecture(Learner[] learners, double numOfHrs) {
18
+    public void lecture(Student[] students1, double numOfHrs) {
19
+
20
+    }
21
+
22
+    public void Lecture(Learner[] learners, double numOfHrs) {
19
         double numOfHrsPerLearner = numOfHrs/learners.length;
23
         double numOfHrsPerLearner = numOfHrs/learners.length;
20
 
24
 
21
         for(Learner learner : learners){
25
         for(Learner learner : learners){

+ 25
- 0
src/main/java/io/zipcoder/interfaces/Instructors.java Näytä tiedosto

1
+package io.zipcoder.interfaces;
2
+
3
+public class Instructors extends People <Instructor> {
4
+    private static Instructors ourInstance = new Instructors();
5
+
6
+    public static Instructors getInstance() {
7
+        return ourInstance;
8
+    }
9
+
10
+    private Instructors() {
11
+        personList.add(new Instructor("Wil", 2));
12
+        personList.add(new Instructor("Dolio", 4));
13
+        personList.add(new Instructor("Kris", 7));
14
+        personList.add(new Instructor("Nhu", 8));
15
+    }
16
+
17
+    @Override
18
+    public Instructor[] getArray() {
19
+        Instructor[] instructor = new Instructor[personList.size()];
20
+        for (int i = 0; i < personList.size(); i++)
21
+            instructor[i] = personList.get(i);
22
+            return instructor;
23
+
24
+    }
25
+}

+ 29
- 21
src/main/java/io/zipcoder/interfaces/People.java Näytä tiedosto

2
 
2
 
3
 import java.util.ArrayList;
3
 import java.util.ArrayList;
4
 
4
 
5
-public class People {
5
+public abstract class People <E extends Person> {
6
 
6
 
7
-    ArrayList <Person> personList = new ArrayList<Person>();
7
+    ArrayList<E> personList = new ArrayList<E>();
8
 
8
 
9
-    public void add(Person p){
9
+    public void add(E p) {
10
         personList.add(p);
10
         personList.add(p);
11
-        //or
12
-        //this.personList.add(p)
11
+        //or  this.personList.add(p);
13
     }
12
     }
14
 
13
 
15
-//    public long findById(long id){
16
-//
17
-//        personList.getId(id);
18
-////
19
-//        for (Person p : personList){
20
-//            if (p.getId() == id){
21
-//                return p;
22
-// }
23
-
24
-    public void remove(Person person){
25
-            personList.remove(person);
26
-        }
27
-    public void remove (Long id){
28
-        for (Person p : personList){
14
+
15
+    public E findById (long id){
16
+        E personToFind = null;// Remove null
17
+        for(int i = 0; i < personList.size();i++){
18
+            if(personList.get(i).getId() == id){
19
+                personToFind = personList.get(i);
20
+            } }
21
+           return personToFind;
22
+    }
23
+
24
+    public void removeById (long id){
25
+        for (E p : personList){
29
             if (p.getId() == id){
26
             if (p.getId() == id){
30
                 personList.remove(p);
27
                 personList.remove(p);
28
+                break;
31
             }
29
             }
32
         }
30
         }
33
     }
31
     }
34
 
32
 
35
-    public void removeAll(){
33
+    public boolean removeAll(){
34
+        ArrayList <E> array = new ArrayList<E>();
35
+        return personList.removeAll(array);
36
 
36
 
37
     }
37
     }
38
-}
38
+
39
+    public int getCount(){
40
+
41
+        return personList.size();
42
+    }
43
+
44
+    public abstract E[] getArray();
45
+
46
+}

+ 10
- 2
src/main/java/io/zipcoder/interfaces/Person.java Näytä tiedosto

5
     public final long id;
5
     public final long id;
6
     public String name;
6
     public String name;
7
 
7
 
8
-    public Person (long id, String name){
8
+    //have two constructor but cannot call both of them at same time when creating object
9
+
10
+    public Person(){
11
+        id = 0;
12
+    }
13
+
14
+    public Person (String name, long id){
9
         this.id = id;
15
         this.id = id;
10
         this.name = name;
16
         this.name = name;
11
     }
17
     }
12
 
18
 
13
-
14
     public Person(long id){
19
     public Person(long id){
20
+
15
         this.id = id;
21
         this.id = id;
16
     }
22
     }
17
     public long getId(){
23
     public long getId(){
24
+
18
         return id;
25
         return id;
19
     }
26
     }
20
 
27
 
21
     public String getName(){
28
     public String getName(){
29
+
22
         return name;
30
         return name;
23
     }
31
     }
24
 
32
 

+ 9
- 4
src/main/java/io/zipcoder/interfaces/Student.java Näytä tiedosto

1
 package io.zipcoder.interfaces;
1
 package io.zipcoder.interfaces;
2
 
2
 
3
 public class Student extends Person implements Learner {
3
 public class Student extends Person implements Learner {
4
-double totalStudyTime;
4
+private double totalStudyTime;
5
 
5
 
6
-public Student (long id, String name){
7
-    super(id, name);
8
-    this.totalStudyTime = 0;
6
+public Student(){
7
+    super();
8
+}
9
+
10
+public Student (String name, long id){
11
+    super(name, id);
9
 }
12
 }
10
 
13
 
11
 public void learn (double mumOfHours){
14
 public void learn (double mumOfHours){
19
     public void setTotalStudyTime(double totalStudyTime) {
22
     public void setTotalStudyTime(double totalStudyTime) {
20
     this.totalStudyTime = totalStudyTime;
23
     this.totalStudyTime = totalStudyTime;
21
     }
24
     }
25
+
26
+
22
 }
27
 }

+ 62
- 0
src/main/java/io/zipcoder/interfaces/Students.java Näytä tiedosto

1
+package io.zipcoder.interfaces;
2
+
3
+import com.sun.org.apache.bcel.internal.generic.INSTANCEOF;
4
+
5
+public class Students extends People <Student> {
6
+    private static Students INSTANCE = new Students();
7
+    private Students() {
8
+
9
+        personList.add(new Student( "Ned Redmond",1));
10
+        personList.add(new Student( "Seth Abrams",2));
11
+        personList.add(new Student( "Akeem Cherry",3));
12
+        personList.add(new Student( "Whitney Martinez",4));
13
+        personList.add(new Student( "Nira Parikh",5));
14
+        personList.add(new Student( "Connor Dunnigan",6));
15
+        personList.add(new Student( "Christian Sheridan",7));
16
+        personList.add(new Student( "Curtis Cook",8));
17
+        personList.add(new Student( "Nuridalia Hernandez",9));
18
+        personList.add(new Student( "Brandon DeFrancis",10));
19
+        personList.add(new Student( "De'Jon Johnson",11));
20
+        personList.add(new Student( "Demetrius Murray",12));
21
+        personList.add(new Student( "Elliott Stansbury",13));
22
+        personList.add(new Student( "Nathan Hall",14));
23
+        personList.add(new Student( "Jae Joson",15));
24
+        personList.add(new Student( "Jacob Anderson",16));
25
+        personList.add(new Student( "Jose Bedolla",17));
26
+        personList.add(new Student( "Jenn Chao",18));
27
+        personList.add(new Student( "Jennifer Tinkler",19));
28
+        personList.add(new Student( "Jonathan Hinds",20));
29
+        personList.add(new Student( "Jay Samuels",21));
30
+        personList.add(new Student( "Jevit Tith",22));
31
+        personList.add(new Student( "Lauren Green",23));
32
+        personList.add(new Student( "Kate Moore",24));
33
+        personList.add(new Student( "Michelle DiMarino",25));
34
+        personList.add(new Student( "Maggie Pierse",26));
35
+        personList.add(new Student( "Nick Satinover",27));
36
+        personList.add(new Student( "Chaitali Patel",28));
37
+        personList.add(new Student( "Yesoda Sanka",29));
38
+        personList.add(new Student( "Saurav Kamath",30));
39
+        personList.add(new Student( "Sam Bhutani",31));
40
+        personList.add(new Student( "Soujanya Buragapu",32));
41
+        personList.add(new Student( "Steffon Williams",33));
42
+        personList.add(new Student( "Zavon Malone",34));
43
+        personList.add(new Student( "Thuy Kong",35));
44
+        personList.add(new Student( "Thulasi Puppala",36));
45
+        personList.add(new Student( "Trinh Tong",37));
46
+        personList.add(new Student( "William Brown",38));
47
+        personList.add(new Student( "Xzavia Cuello",39));
48
+    }
49
+
50
+    public static Students getInstance() {
51
+        return INSTANCE;
52
+    }
53
+
54
+    @Override
55
+    public Student[] getArray(){
56
+        Student [] studnts = new Student[personList.size()];
57
+        for (int i = 0; i < personList.size(); i++)
58
+            studnts[i] = personList.get(i);
59
+            return studnts;
60
+
61
+    }
62
+}

+ 3
- 1
src/main/java/io/zipcoder/interfaces/Teacher.java Näytä tiedosto

4
 
4
 
5
     public void teach(Learner learner, double numOfHrs);
5
     public void teach(Learner learner, double numOfHrs);
6
 
6
 
7
-    public void lecture(Learner [] learners, double numOfHrs);
7
+    public void Lecture(Learner[] learners, double numOfHrs);
8
+
9
+    public void lecture(Student[] students1, double numOfHrs);
8
 }
10
 }

+ 38
- 0
src/main/java/io/zipcoder/interfaces/ZipcodeWilmington.java Näytä tiedosto

1
+package io.zipcoder.interfaces;
2
+
3
+import com.sun.org.apache.bcel.internal.generic.INSTANCEOF;
4
+
5
+public class ZipcodeWilmington {
6
+    private static final ZipcodeWilmington INSTANCE = new ZipcodeWilmington();
7
+    private static final Students students = Students.getInstance();
8
+    private static final Instructors instructors = Instructors.getInstance();
9
+
10
+
11
+    public static ZipcodeWilmington getInstance() {
12
+        return INSTANCE;
13
+    }
14
+
15
+    private ZipcodeWilmington() {}
16
+
17
+    public void hostLecture (Teacher teacher,double numOfHrs){
18
+        Student[] students1 = students.getArray();
19
+        teacher.Lecture(students1,numOfHrs);
20
+    }
21
+
22
+    public void hostLecture (long id,double numOfHrs){
23
+        Student[] students1 = students.getArray();
24
+        for (int i = 0; i < instructors.getCount(); i++){
25
+            if (instructors.personList.get(i).getId() == id){
26
+                instructors.personList.get(i).Lecture(students1,numOfHrs);
27
+            }
28
+        }
29
+    }
30
+
31
+    public static Students getStudents(){
32
+        return students;
33
+    }
34
+
35
+    public static Instructors getInstructors(){
36
+        return instructors;
37
+    }
38
+}

+ 7
- 7
src/test/java/io/zipcoder/interfaces/TestInstructor.java Näytä tiedosto

5
 
5
 
6
 public class TestInstructor {
6
 public class TestInstructor {
7
 
7
 
8
-    Instructor instructor = new Instructor(1, "Nhu");
9
-    Student student = new Student(1, "Nancy");
10
-    Student student1= new Student(2, "Ron");
11
-    Student student2= new Student(3, "Ari");
12
-    Student student3= new Student(4, "Rita");
8
+    Instructor instructor = new Instructor("Nhu", 1);
9
+    Student student = new Student( "Nancy", 1);
10
+    Student student1= new Student( "Ron", 2);
11
+    Student student2= new Student( "Ari", 3);
12
+    Student student3= new Student("Rita",4);
13
 
13
 
14
     Student [] students = new Student[] {student,student1,student2,student3};
14
     Student [] students = new Student[] {student,student1,student2,student3};
15
 
15
 
40
     @Test
40
     @Test
41
     public void testLecture(){
41
     public void testLecture(){
42
 
42
 
43
-        //double numOfHrs = 50;
43
+        double numOfHrs = 50.0;
44
 
44
 
45
         instructor.lecture(students, 50.0);
45
         instructor.lecture(students, 50.0);
46
         double expected = students[0].getTotalStudyTime();
46
         double expected = students[0].getTotalStudyTime();
48
        double actual = 12.5; // numOfHrs instructor taught / # of students taught so 50/4 = 12.5
48
        double actual = 12.5; // numOfHrs instructor taught / # of students taught so 50/4 = 12.5
49
 
49
 
50
 
50
 
51
-        Assert.assertEquals(expected, actual, 0.0);
51
+        Assert.assertEquals(expected, actual, 0.01);
52
     }
52
     }
53
 }
53
 }

+ 24
- 0
src/test/java/io/zipcoder/interfaces/TestInstructors.java Näytä tiedosto

1
+package io.zipcoder.interfaces;
2
+
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
6
+public class TestInstructors {
7
+
8
+    @Test
9
+    public void getInstance(){
10
+        Instructors instructors1 = Instructors.getInstance();
11
+        Instructors instructors2 = Instructors.getInstance();
12
+
13
+        Assert.assertEquals(instructors1,instructors2);
14
+    }
15
+
16
+    @Test
17
+    public void theInitializationSetupStudents(){
18
+        Instructors instructors1 = Instructors.getInstance();
19
+        int expected = 4;
20
+        int actual = instructors1.getArray().length;
21
+        Assert.assertEquals(expected,actual);
22
+
23
+    }
24
+}

+ 75
- 0
src/test/java/io/zipcoder/interfaces/TestPeople.java Näytä tiedosto

1
+package io.zipcoder.interfaces;
2
+
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
6
+public class TestPeople {
7
+
8
+    Person person1,person2;
9
+    Student student1;
10
+    Instructor instructor;
11
+    Students students;
12
+    Instructors instructors;
13
+
14
+    public TestPeople() {
15
+        students = Students.getInstance();
16
+        person1 = new Person("person1", 45);
17
+        person2 = new Person("person2", 55);
18
+        student1 = new Student("student1", 50);
19
+        instructor = new Instructor("instructor1", 54);
20
+        students.add(student1);
21
+    }
22
+
23
+    @Test
24
+    public void testAdd(){
25
+        //Given
26
+        Student newStudent = new Student("student2", 42);
27
+
28
+        //When
29
+        Integer expected = 41;
30
+        students.add(newStudent);
31
+        Integer actual = students.getCount();
32
+
33
+        //Then
34
+        Assert.assertEquals(expected,actual);
35
+    }
36
+
37
+    @Test
38
+    public void testFindById(){
39
+        //When
40
+        long expected = student1.getId();
41
+        Student actual = students.findById(50);
42
+
43
+        //Then
44
+        Assert.assertEquals(expected,actual.getId());
45
+    }
46
+
47
+    @Test
48
+    public void testRemoveTest(){
49
+        //When
50
+        Integer expected = 42;
51
+        students.removeById(50);
52
+        Integer actual = students.getCount();
53
+
54
+        //Then
55
+        Assert.assertEquals(expected,actual);
56
+    }
57
+
58
+    @Test
59
+    public void testRemoveAll(){
60
+        //Given
61
+        Instructors instructors = Instructors.getInstance();
62
+
63
+        //When
64
+        Integer expected = 4;
65
+        instructors.removeAll();
66
+        Integer actual = instructors.getCount();
67
+
68
+        //Then
69
+        Assert.assertEquals(expected,actual);
70
+
71
+    }
72
+
73
+
74
+
75
+}

+ 2
- 3
src/test/java/io/zipcoder/interfaces/TestPerson.java Näytä tiedosto

6
 
6
 
7
 public class TestPerson {
7
 public class TestPerson {
8
 
8
 
9
-    Person person = new Person(1, "Nancy");
9
+    Person person = new Person("Nancy",1 );
10
 
10
 
11
     @Test
11
     @Test
12
     public void testConstructor() {
12
     public void testConstructor() {
18
     @Test
18
     @Test
19
     public void testSetAndGetName() {
19
     public void testSetAndGetName() {
20
 
20
 
21
-        String expected = "Robin";
21
+        String expected = "Nancy";
22
         person.setName(expected);
22
         person.setName(expected);
23
 
23
 
24
-
25
         Assert.assertEquals(expected, person.getName());
24
         Assert.assertEquals(expected, person.getName());
26
 
25
 
27
     }
26
     }

+ 1
- 1
src/test/java/io/zipcoder/interfaces/TestStudent.java Näytä tiedosto

4
 import org.junit.Test;
4
 import org.junit.Test;
5
 
5
 
6
 public class TestStudent {
6
 public class TestStudent {
7
-    Student student = new Student(1, "Nancy");  //creating global new object
7
+    Student student = new Student("Nancy",1);  //creating global new object
8
 
8
 
9
     @Test
9
     @Test
10
     public void testImplementation() {
10
     public void testImplementation() {

+ 23
- 0
src/test/java/io/zipcoder/interfaces/TestStudents.java Näytä tiedosto

1
+package io.zipcoder.interfaces;
2
+
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
6
+public class TestStudents {
7
+
8
+    @Test
9
+    public void getInstance(){
10
+        Students student =  Students.getInstance();
11
+        Students student1 =  Students.getInstance();
12
+
13
+        Assert.assertEquals(student,student1);
14
+    }
15
+
16
+    @Test
17
+    public void theInitializationSetupStudents(){
18
+        Students student = Students.getInstance();
19
+        int expected = 43;
20
+        int actual = student.getArray().length;
21
+        Assert.assertEquals(expected,actual);
22
+    }
23
+}

+ 30
- 0
src/test/java/io/zipcoder/interfaces/TestZipCodeWilmington.java Näytä tiedosto

1
+package io.zipcoder.interfaces;
2
+
3
+import org.junit.Assert;
4
+import org.junit.Test;
5
+
6
+public class TestZipCodeWilmington {
7
+
8
+    @Test
9
+    public void hostLecture(){
10
+        ZipcodeWilmington zcw = ZipcodeWilmington.getInstance();
11
+        Instructor instructor = zcw.getInstructors().getArray()[0];
12
+        zcw.hostLecture(instructor, 39);
13
+        double expected = 2;
14
+        double actual = zcw.getStudents().getArray()[0].getTotalStudyTime();
15
+
16
+        Assert.assertEquals(expected,actual, .1);
17
+        }
18
+
19
+    @Test
20
+    public void hostLectureById(){
21
+        ZipcodeWilmington zcw = ZipcodeWilmington.getInstance();
22
+        Instructor instructor = zcw.getInstructors().getArray()[0];
23
+        zcw.hostLecture(instructor.getId(),39);
24
+        double expected = 1;
25
+        double actual = zcw.getStudents().getArray()[0].getTotalStudyTime();
26
+
27
+        Assert.assertEquals(expected,actual,.1);
28
+
29
+    }
30
+}