Browse Source

corrected lab

mpierse 6 years ago
parent
commit
f6dd768c4b

+ 224
- 42
.idea/workspace.xml View File

@@ -1,9 +1,13 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4
+<<<<<<< HEAD
4 5
     <list default="true" id="7c067e32-f3c4-46c3-90e9-a9b9f12f1b24" name="Default Changelist" comment="">
5 6
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6 7
     </list>
8
+=======
9
+    <list default="true" id="7c067e32-f3c4-46c3-90e9-a9b9f12f1b24" name="Default Changelist" comment="" />
10
+>>>>>>> parent of def5f28... completed enum
7 11
     <ignored path="$PROJECT_DIR$/target/" />
8 12
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9 13
     <option name="SHOW_DIALOG" value="false" />
@@ -11,6 +15,28 @@
11 15
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12 16
     <option name="LAST_RESOLUTION" value="IGNORE" />
13 17
   </component>
18
+  <component name="DockManager">
19
+    <window id="1">
20
+      <content type="file-editors">
21
+        <state>
22
+          <leaf>
23
+            <file pinned="false" current-in-tab="true">
24
+              <entry file="file://$PROJECT_DIR$/README.md">
25
+                <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
26
+                  <state split_layout="SPLIT">
27
+                    <first_editor relative-caret-position="510">
28
+                      <caret line="34" column="9" lean-forward="true" selection-start-line="34" selection-start-column="9" selection-end-line="34" selection-end-column="9" />
29
+                    </first_editor>
30
+                    <second_editor />
31
+                  </state>
32
+                </provider>
33
+              </entry>
34
+            </file>
35
+          </leaf>
36
+        </state>
37
+      </content>
38
+    </window>
39
+  </component>
14 40
   <component name="FUSProjectUsageTrigger">
15 41
     <session id="-1479912162">
16 42
       <usages-collector id="statistics.lifecycle.project">
@@ -27,25 +53,25 @@
27 53
       <usages-collector id="statistics.file.extensions.open">
28 54
         <counts>
29 55
           <entry key="class" value="7" />
30
-          <entry key="java" value="72" />
31
-          <entry key="md" value="4" />
56
+          <entry key="java" value="67" />
57
+          <entry key="md" value="2" />
32 58
         </counts>
33 59
       </usages-collector>
34 60
       <usages-collector id="statistics.file.types.open">
35 61
         <counts>
36 62
           <entry key="CLASS" value="7" />
37
-          <entry key="JAVA" value="72" />
38
-          <entry key="Markdown" value="4" />
63
+          <entry key="JAVA" value="67" />
64
+          <entry key="Markdown" value="2" />
39 65
         </counts>
40 66
       </usages-collector>
41 67
       <usages-collector id="statistics.file.extensions.edit">
42 68
         <counts>
43
-          <entry key="java" value="7016" />
69
+          <entry key="java" value="6683" />
44 70
         </counts>
45 71
       </usages-collector>
46 72
       <usages-collector id="statistics.file.types.edit">
47 73
         <counts>
48
-          <entry key="JAVA" value="7016" />
74
+          <entry key="JAVA" value="6683" />
49 75
         </counts>
50 76
       </usages-collector>
51 77
       <usages-collector id="statistics.js.language.service.starts" />
@@ -59,6 +85,15 @@
59 85
       <split-first>
60 86
         <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
61 87
           <file pinned="false" current-in-tab="false">
88
+            <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
89
+              <provider selected="true" editor-type-id="text-editor">
90
+                <state relative-caret-position="75">
91
+                  <caret line="5" column="23" selection-start-line="5" selection-start-column="23" selection-end-line="5" selection-end-column="23" />
92
+                </state>
93
+              </provider>
94
+            </entry>
95
+          </file>
96
+          <file pinned="false" current-in-tab="false">
62 97
             <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java">
63 98
               <provider selected="true" editor-type-id="text-editor">
64 99
                 <state relative-caret-position="30">
@@ -81,6 +116,15 @@
81 116
             </entry>
82 117
           </file>
83 118
           <file pinned="false" current-in-tab="false">
119
+            <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Students.java">
120
+              <provider selected="true" editor-type-id="text-editor">
121
+                <state relative-caret-position="60">
122
+                  <caret line="4" column="44" lean-forward="true" selection-start-line="4" selection-start-column="28" selection-end-line="4" selection-end-column="44" />
123
+                </state>
124
+              </provider>
125
+            </entry>
126
+          </file>
127
+          <file pinned="false" current-in-tab="false">
84 128
             <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java">
85 129
               <provider selected="true" editor-type-id="text-editor">
86 130
                 <state relative-caret-position="60">
@@ -89,11 +133,16 @@
89 133
               </provider>
90 134
             </entry>
91 135
           </file>
92
-          <file pinned="false" current-in-tab="true">
136
+          <file pinned="false" current-in-tab="false">
93 137
             <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java">
94 138
               <provider selected="true" editor-type-id="text-editor">
139
+<<<<<<< HEAD
95 140
                 <state relative-caret-position="315">
96 141
                   <caret line="27" column="5" selection-start-line="27" selection-start-column="5" selection-end-line="27" selection-end-column="5" />
142
+=======
143
+                <state relative-caret-position="420">
144
+                  <caret line="34" column="13" selection-start-line="34" selection-start-column="13" selection-end-line="34" selection-end-column="13" />
145
+>>>>>>> parent of def5f28... completed enum
97 146
                   <folding>
98 147
                     <element signature="imports" expanded="true" />
99 148
                   </folding>
@@ -101,11 +150,16 @@
101 150
               </provider>
102 151
             </entry>
103 152
           </file>
104
-          <file pinned="false" current-in-tab="false">
153
+          <file pinned="false" current-in-tab="true">
105 154
             <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Educator.java">
106 155
               <provider selected="true" editor-type-id="text-editor">
156
+<<<<<<< HEAD
107 157
                 <state relative-caret-position="405">
108 158
                   <caret line="33" selection-start-line="33" selection-end-line="33" />
159
+=======
160
+                <state relative-caret-position="300">
161
+                  <caret line="20" lean-forward="true" selection-start-line="20" selection-end-line="20" />
162
+>>>>>>> parent of def5f28... completed enum
109 163
                 </state>
110 164
               </provider>
111 165
             </entry>
@@ -113,10 +167,15 @@
113 167
           <file pinned="false" current-in-tab="false">
114 168
             <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java">
115 169
               <provider selected="true" editor-type-id="text-editor">
170
+<<<<<<< HEAD
116 171
                 <state relative-caret-position="195">
117 172
                   <caret line="13" column="41" selection-start-line="13" selection-start-column="41" selection-end-line="13" selection-end-column="41" />
173
+=======
174
+                <state relative-caret-position="315">
175
+                  <caret line="23" column="28" selection-start-line="23" selection-start-column="28" selection-end-line="23" selection-end-column="28" />
176
+>>>>>>> parent of def5f28... completed enum
118 177
                   <folding>
119
-                    <element signature="e#244#254#0" expanded="true" />
178
+                    <element signature="e#243#252#0" expanded="true" />
120 179
                   </folding>
121 180
                 </state>
122 181
               </provider>
@@ -125,8 +184,13 @@
125 184
           <file pinned="false" current-in-tab="false">
126 185
             <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/testHostLecture.java">
127 186
               <provider selected="true" editor-type-id="text-editor">
187
+<<<<<<< HEAD
128 188
                 <state relative-caret-position="375">
129 189
                   <caret line="27" column="28" selection-start-line="27" selection-start-column="28" selection-end-line="27" selection-end-column="28" />
190
+=======
191
+                <state>
192
+                  <caret column="31" selection-start-column="31" selection-end-column="31" />
193
+>>>>>>> parent of def5f28... completed enum
130 194
                   <folding>
131 195
                     <element signature="imports" expanded="true" />
132 196
                   </folding>
@@ -137,21 +201,27 @@
137 201
         </leaf>
138 202
       </split-first>
139 203
       <split-second>
204
+<<<<<<< HEAD
140 205
         <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
141 206
           <file pinned="false" current-in-tab="true">
142 207
             <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
208
+=======
209
+        <leaf>
210
+          <file pinned="false" current-in-tab="true">
211
+            <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java">
212
+>>>>>>> parent of def5f28... completed enum
143 213
               <provider selected="true" editor-type-id="text-editor">
144
-                <state relative-caret-position="60">
145
-                  <caret line="4" column="23" selection-start-line="4" selection-start-column="23" selection-end-line="4" selection-end-column="23" />
214
+                <state relative-caret-position="315">
215
+                  <caret line="23" column="28" selection-start-line="23" selection-start-column="28" selection-end-line="23" selection-end-column="28" />
146 216
                   <folding>
147
-                    <element signature="e#381#382#0" expanded="true" />
148
-                    <element signature="e#406#407#0" expanded="true" />
217
+                    <element signature="e#243#252#0" expanded="true" />
149 218
                   </folding>
150 219
                 </state>
151 220
               </provider>
152 221
             </entry>
153 222
           </file>
154 223
           <file pinned="false" current-in-tab="false">
224
+<<<<<<< HEAD
155 225
             <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
156 226
               <provider selected="true" editor-type-id="text-editor">
157 227
                 <state relative-caret-position="225">
@@ -195,6 +265,12 @@
195 265
                     <caret line="21" column="16" selection-start-line="21" selection-start-column="16" selection-end-line="21" selection-end-column="16" />
196 266
                   </first_editor>
197 267
                   <second_editor />
268
+=======
269
+            <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
270
+              <provider selected="true" editor-type-id="text-editor">
271
+                <state relative-caret-position="363">
272
+                  <caret line="31" column="36" lean-forward="true" selection-start-line="31" selection-start-column="36" selection-end-line="31" selection-end-column="36" />
273
+>>>>>>> parent of def5f28... completed enum
198 274
                 </state>
199 275
               </provider>
200 276
             </entry>
@@ -207,8 +283,8 @@
207 283
     <option name="RECENT_TEMPLATES">
208 284
       <list>
209 285
         <option value="Interface" />
210
-        <option value="Enum" />
211 286
         <option value="Class" />
287
+        <option value="Enum" />
212 288
       </list>
213 289
     </option>
214 290
   </component>
@@ -236,16 +312,15 @@
236 312
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructor.java" />
237 313
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestStudents.java" />
238 314
         <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestInstructors.java" />
315
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPeople.java" />
239 316
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Learner.java" />
317
+        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/testHostLecture.java" />
318
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java" />
240 319
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Students.java" />
241 320
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/ZipCodeWilmington.java" />
242
-        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Educator.java" />
243
-        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/EducatorTest.java" />
244
-        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java" />
245 321
         <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java" />
246
-        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/testHostLecture.java" />
247
-        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java" />
248
-        <option value="$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPeople.java" />
322
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java" />
323
+        <option value="$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Educator.java" />
249 324
       </list>
250 325
     </option>
251 326
   </component>
@@ -267,9 +342,16 @@
267 342
     </treeState>
268 343
   </component>
269 344
   <component name="ProjectFrameBounds">
345
+<<<<<<< HEAD
270 346
     <option name="y" value="30" />
271 347
     <option name="width" value="1440" />
272 348
     <option name="height" value="797" />
349
+=======
350
+    <option name="x" value="-210" />
351
+    <option name="y" value="-1035" />
352
+    <option name="width" value="1656" />
353
+    <option name="height" value="979" />
354
+>>>>>>> parent of def5f28... completed enum
273 355
   </component>
274 356
   <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
275 357
   <component name="ProjectView">
@@ -342,7 +424,11 @@
342 424
   <component name="PropertiesComponent">
343 425
     <property name="WebServerToolWindowFactoryState" value="false" />
344 426
     <property name="aspect.path.notification.shown" value="true" />
427
+<<<<<<< HEAD
345 428
     <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542642091363" />
429
+=======
430
+    <property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1542498512431" />
431
+>>>>>>> parent of def5f28... completed enum
346 432
     <property name="last_opened_file_path" value="$PROJECT_DIR$" />
347 433
     <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
348 434
     <property name="nodejs_npm_path_reset_for_default_project" value="true" />
@@ -367,8 +453,8 @@
367 453
       </list>
368 454
     </option>
369 455
   </component>
370
-  <component name="RunManager" selected="JUnit.TestPeople.testRemoveAll">
371
-    <configuration name="TestPeople" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
456
+  <component name="RunManager" selected="JUnit.io.zipcoder.interfaces in interfaces-1">
457
+    <configuration name="TestInstructors.testInitializationSetupInstructors" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
372 458
       <module name="interfaces-1" />
373 459
       <extension name="coverage">
374 460
         <pattern>
@@ -377,12 +463,14 @@
377 463
         </pattern>
378 464
       </extension>
379 465
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
380
-      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestPeople" />
466
+      <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestInstructors" />
467
+      <option name="METHOD_NAME" value="testInitializationSetupInstructors" />
468
+      <option name="TEST_OBJECT" value="method" />
381 469
       <method v="2">
382 470
         <option name="Make" enabled="true" />
383 471
       </method>
384 472
     </configuration>
385
-    <configuration name="TestPeople.testRemoveAll" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
473
+    <configuration name="TestPeople" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
386 474
       <module name="interfaces-1" />
387 475
       <extension name="coverage">
388 476
         <pattern>
@@ -392,8 +480,6 @@
392 480
       </extension>
393 481
       <option name="PACKAGE_NAME" value="io.zipcoder.interfaces" />
394 482
       <option name="MAIN_CLASS_NAME" value="io.zipcoder.interfaces.TestPeople" />
395
-      <option name="METHOD_NAME" value="testRemoveAll" />
396
-      <option name="TEST_OBJECT" value="method" />
397 483
       <method v="2">
398 484
         <option name="Make" enabled="true" />
399 485
       </method>
@@ -445,17 +531,17 @@
445 531
     <list>
446 532
       <item itemvalue="JUnit.io.zipcoder.interfaces in interfaces-1" />
447 533
       <item itemvalue="JUnit.TestPeople" />
534
+      <item itemvalue="JUnit.TestInstructors.testInitializationSetupInstructors" />
448 535
       <item itemvalue="JUnit.TestStudents" />
449 536
       <item itemvalue="JUnit.testHostLecture.testHostLecture" />
450
-      <item itemvalue="JUnit.TestPeople.testRemoveAll" />
451 537
     </list>
452 538
     <recent_temporary>
453 539
       <list>
454
-        <item itemvalue="JUnit.TestPeople.testRemoveAll" />
455
-        <item itemvalue="JUnit.TestPeople" />
456 540
         <item itemvalue="JUnit.io.zipcoder.interfaces in interfaces-1" />
457 541
         <item itemvalue="JUnit.testHostLecture.testHostLecture" />
458 542
         <item itemvalue="JUnit.TestStudents" />
543
+        <item itemvalue="JUnit.TestInstructors.testInitializationSetupInstructors" />
544
+        <item itemvalue="JUnit.TestPeople" />
459 545
       </list>
460 546
     </recent_temporary>
461 547
   </component>
@@ -482,13 +568,29 @@
482 568
       <workItem from="1542224574521" duration="5206000" />
483 569
       <workItem from="1542375261055" duration="1034000" />
484 570
       <workItem from="1542396862627" duration="5617000" />
571
+<<<<<<< HEAD
485 572
       <workItem from="1542496077252" duration="7293000" />
486 573
       <workItem from="1543245450551" duration="13000" />
487 574
       <workItem from="1543544147995" duration="478000" />
575
+=======
576
+      <workItem from="1542496077252" duration="1905000" />
577
+>>>>>>> parent of def5f28... completed enum
488 578
     </task>
489 579
     <servers />
490 580
   </component>
491 581
   <component name="TestHistory">
582
+<<<<<<< HEAD
583
+=======
584
+    <history-entry file="TestPeople - 2018.11.16 at 14h 39m 59s.xml">
585
+      <configuration name="TestPeople" configurationId="JUnit" />
586
+    </history-entry>
587
+    <history-entry file="io_zipcoder_interfaces_in_interfaces-1 - 2018.11.16 at 14h 40m 23s.xml">
588
+      <configuration name="io.zipcoder.interfaces in interfaces-1" configurationId="JUnit" />
589
+    </history-entry>
590
+    <history-entry file="TestInstructors_testInitializationSetupInstructors - 2018.11.16 at 14h 40m 58s.xml">
591
+      <configuration name="TestInstructors.testInitializationSetupInstructors" configurationId="JUnit" />
592
+    </history-entry>
593
+>>>>>>> parent of def5f28... completed enum
492 594
     <history-entry file="TestInstructors_testInitializationSetupInstructors - 2018.11.16 at 14h 41m 33s.xml">
493 595
       <configuration name="TestInstructors.testInitializationSetupInstructors" configurationId="JUnit" />
494 596
     </history-entry>
@@ -510,6 +612,7 @@
510 612
     <history-entry file="io_zipcoder_interfaces_in_interfaces-1 - 2018.11.16 at 14h 47m 47s.xml">
511 613
       <configuration name="io.zipcoder.interfaces in interfaces-1" configurationId="JUnit" />
512 614
     </history-entry>
615
+<<<<<<< HEAD
513 616
     <history-entry file="io_zipcoder_interfaces_in_interfaces-1 - 2018.11.18 at 14h 04m 00s.xml">
514 617
       <configuration name="io.zipcoder.interfaces in interfaces-1" configurationId="JUnit" />
515 618
     </history-entry>
@@ -557,6 +660,17 @@
557 660
     </layout>
558 661
     <layout-to-restore>
559 662
       <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.17453505" />
663
+=======
664
+  </component>
665
+  <component name="TimeTrackingManager">
666
+    <option name="totallyTimeSpent" value="46387000" />
667
+  </component>
668
+  <component name="ToolWindowManager">
669
+    <frame x="-210" y="-1035" width="1656" height="979" extended-state="0" />
670
+    <editor active="true" />
671
+    <layout>
672
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.15179677" />
673
+>>>>>>> parent of def5f28... completed enum
560 674
       <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
561 675
       <window_info id="Image Layers" order="2" />
562 676
       <window_info id="Designer" order="3" />
@@ -574,7 +688,7 @@
574 688
       <window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
575 689
       <window_info anchor="bottom" id="Terminal" order="9" />
576 690
       <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
577
-      <window_info anchor="bottom" id="Messages" order="11" visible="true" weight="0.24822696" />
691
+      <window_info anchor="bottom" id="Messages" order="11" visible="true" weight="0.427283" />
578 692
       <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
579 693
       <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
580 694
       <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
@@ -584,7 +698,7 @@
584 698
       <window_info anchor="right" id="Theme Preview" order="6" />
585 699
       <window_info anchor="right" id="Palette&#9;" order="7" />
586 700
       <window_info anchor="right" id="Maven Projects" order="8" />
587
-    </layout-to-restore>
701
+    </layout>
588 702
   </component>
589 703
   <component name="TypeScriptGeneratedFilesManager">
590 704
     <option name="version" value="1" />
@@ -632,6 +746,13 @@
632 746
         </state>
633 747
       </provider>
634 748
     </entry>
749
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/TestPeople.java">
750
+      <provider selected="true" editor-type-id="text-editor">
751
+        <state relative-caret-position="930">
752
+          <caret line="66" selection-start-line="66" selection-end-line="66" />
753
+        </state>
754
+      </provider>
755
+    </entry>
635 756
     <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/StudentTest.java">
636 757
       <provider selected="true" editor-type-id="text-editor">
637 758
         <state relative-caret-position="384">
@@ -643,10 +764,6 @@
643 764
       <provider selected="true" editor-type-id="text-editor">
644 765
         <state relative-caret-position="210">
645 766
           <caret line="18" column="35" selection-start-line="18" selection-start-column="35" selection-end-line="18" selection-end-column="35" />
646
-          <folding>
647
-            <element signature="e#188#189#0" expanded="true" />
648
-            <element signature="e#242#243#0" expanded="true" />
649
-          </folding>
650 767
         </state>
651 768
       </provider>
652 769
     </entry>
@@ -674,10 +791,20 @@
674 791
         </state>
675 792
       </provider>
676 793
     </entry>
794
+<<<<<<< HEAD
677 795
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java">
678 796
       <provider selected="true" editor-type-id="text-editor">
679 797
         <state relative-caret-position="30">
680 798
           <caret line="2" column="20" selection-start-line="2" selection-start-column="20" selection-end-line="2" selection-end-column="20" />
799
+=======
800
+    <entry file="file://$PROJECT_DIR$/src/test/java/io/zipcoder/interfaces/testHostLecture.java">
801
+      <provider selected="true" editor-type-id="text-editor">
802
+        <state>
803
+          <caret column="31" selection-start-column="31" selection-end-column="31" />
804
+          <folding>
805
+            <element signature="imports" expanded="true" />
806
+          </folding>
807
+>>>>>>> parent of def5f28... completed enum
681 808
         </state>
682 809
       </provider>
683 810
     </entry>
@@ -692,8 +819,9 @@
692 819
         </state>
693 820
       </provider>
694 821
     </entry>
695
-    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java">
822
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Person.java">
696 823
       <provider selected="true" editor-type-id="text-editor">
824
+<<<<<<< HEAD
697 825
         <state relative-caret-position="60">
698 826
           <caret line="4" column="24" selection-start-line="4" selection-start-column="24" selection-end-line="4" selection-end-column="24" />
699 827
         </state>
@@ -703,11 +831,16 @@
703 831
       <provider selected="true" editor-type-id="text-editor">
704 832
         <state relative-caret-position="405">
705 833
           <caret line="33" selection-start-line="33" selection-end-line="33" />
834
+=======
835
+        <state relative-caret-position="30">
836
+          <caret line="2" column="20" selection-start-line="2" selection-start-column="20" selection-end-line="2" selection-end-column="20" />
837
+>>>>>>> parent of def5f28... completed enum
706 838
         </state>
707 839
       </provider>
708 840
     </entry>
709
-    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java">
841
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Students.java">
710 842
       <provider selected="true" editor-type-id="text-editor">
843
+<<<<<<< HEAD
711 844
         <state relative-caret-position="195">
712 845
           <caret line="13" column="41" selection-start-line="13" selection-start-column="41" selection-end-line="13" selection-end-column="41" />
713 846
           <folding>
@@ -733,22 +866,47 @@
733 866
           <folding>
734 867
             <element signature="imports" expanded="true" />
735 868
           </folding>
869
+=======
870
+        <state relative-caret-position="60">
871
+          <caret line="4" column="44" lean-forward="true" selection-start-line="4" selection-start-column="28" selection-end-line="4" selection-end-column="44" />
736 872
         </state>
737 873
       </provider>
738 874
     </entry>
739
-    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
875
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/People.java">
740 876
       <provider selected="true" editor-type-id="text-editor">
741
-        <state relative-caret-position="60">
742
-          <caret line="4" column="23" selection-start-line="4" selection-start-column="23" selection-end-line="4" selection-end-column="23" />
877
+        <state relative-caret-position="420">
878
+          <caret line="34" column="13" selection-start-line="34" selection-start-column="13" selection-end-line="34" selection-end-column="13" />
743 879
           <folding>
744
-            <element signature="e#381#382#0" expanded="true" />
745
-            <element signature="e#406#407#0" expanded="true" />
880
+            <element signature="imports" expanded="true" />
746 881
           </folding>
747 882
         </state>
748 883
       </provider>
749 884
     </entry>
750 885
     <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
751 886
       <provider selected="true" editor-type-id="text-editor">
887
+        <state relative-caret-position="75">
888
+          <caret line="5" column="23" selection-start-line="5" selection-start-column="23" selection-end-line="5" selection-end-column="23" />
889
+        </state>
890
+      </provider>
891
+    </entry>
892
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Teacher.java">
893
+      <provider selected="true" editor-type-id="text-editor">
894
+        <state relative-caret-position="60">
895
+          <caret line="4" column="24" lean-forward="true" selection-start-line="4" selection-start-column="24" selection-end-line="4" selection-end-column="24" />
896
+>>>>>>> parent of def5f28... completed enum
897
+        </state>
898
+      </provider>
899
+    </entry>
900
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructor.java">
901
+      <provider selected="true" editor-type-id="text-editor">
902
+        <state relative-caret-position="363">
903
+          <caret line="31" column="36" lean-forward="true" selection-start-line="31" selection-start-column="36" selection-end-line="31" selection-end-column="36" />
904
+        </state>
905
+      </provider>
906
+    </entry>
907
+<<<<<<< HEAD
908
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Student.java">
909
+      <provider selected="true" editor-type-id="text-editor">
752 910
         <state relative-caret-position="225">
753 911
           <caret line="17" column="38" selection-start-line="17" selection-start-column="18" selection-end-line="17" selection-end-column="38" />
754 912
         </state>
@@ -780,6 +938,30 @@
780 938
         <state split_layout="SPLIT">
781 939
           <first_editor relative-caret-position="315">
782 940
             <caret line="21" column="16" selection-start-line="21" selection-start-column="16" selection-end-line="21" selection-end-column="16" />
941
+=======
942
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Instructors.java">
943
+      <provider selected="true" editor-type-id="text-editor">
944
+        <state relative-caret-position="315">
945
+          <caret line="23" column="28" selection-start-line="23" selection-start-column="28" selection-end-line="23" selection-end-column="28" />
946
+          <folding>
947
+            <element signature="e#243#252#0" expanded="true" />
948
+          </folding>
949
+        </state>
950
+      </provider>
951
+    </entry>
952
+    <entry file="file://$PROJECT_DIR$/src/main/java/io/zipcoder/interfaces/Educator.java">
953
+      <provider selected="true" editor-type-id="text-editor">
954
+        <state relative-caret-position="300">
955
+          <caret line="20" lean-forward="true" selection-start-line="20" selection-end-line="20" />
956
+        </state>
957
+      </provider>
958
+    </entry>
959
+    <entry file="file://$PROJECT_DIR$/README.md">
960
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
961
+        <state split_layout="SPLIT">
962
+          <first_editor relative-caret-position="510">
963
+            <caret line="34" column="9" lean-forward="true" selection-start-line="34" selection-start-column="9" selection-end-line="34" selection-end-column="9" />
964
+>>>>>>> parent of def5f28... completed enum
783 965
           </first_editor>
784 966
           <second_editor />
785 967
         </state>

+ 2
- 13
src/main/java/io/zipcoder/interfaces/Educator.java View File

@@ -11,23 +11,12 @@ public enum Educator implements Teacher {
11 11
     LEON(6L);
12 12
 
13 13
     private double timeWorked;
14
-    private long id;
15
-
16
-    Educator(long id){
17
-        this.id=id;
18
-    }
19
-
20
-    public long getId() {
21
-        return id;
22
-    }
23 14
 
24 15
     public void teach(Learner learner, double numberOfHours) {
25
-        learner.learn(numberOfHours);
16
+
26 17
     }
27 18
 
28 19
     public void lecture(ArrayList<Learner> learners, double numberOfHours) {
29
-        for (Learner kid : learners){
30
-            kid.learn(numberOfHours/learners.size());
31
-        }
20
+
32 21
     }
33 22
 }

+ 10
- 15
src/main/java/io/zipcoder/interfaces/Instructor.java View File

@@ -6,17 +6,11 @@ public class Instructor extends Person implements Teacher {
6 6
 
7 7
     private String name;
8 8
     private Instructors instructors = Instructors.getInstance();
9
-    private long id;
10 9
 
11 10
 
12 11
     public Instructor(long id, String name) {
13 12
         super(id,name);
14 13
         this.name=name;
15
-        this.id=id;
16
-    }
17
-
18
-    public long getid() {
19
-        return id;
20 14
     }
21 15
 
22 16
     public void teach(Learner learner, double numHours){
@@ -31,15 +25,16 @@ public class Instructor extends Person implements Teacher {
31 25
     }
32 26
 
33 27
 
28
+    public Instructor findById(long id) {
29
+        Instructor result = null;
30
+        for ( Instructor instructor: instructors.getArray()){
31
+            if (instructor.getiD() == id){
32
+                result = instructor;
33
+            }
34
+        }
35
+        return result;
36
+    }
34 37
 
35
-//    public Educator findById(long id) {
36
-//        Educator result = null;
37
-//        for ( Educator instructor : instructors.getArray()){
38
-//            if (instructor.getId() == id){
39
-//                result = instructor;
40
-//            }
41
-//        }
42
-//        return result;
43
-//    }
38
+    
44 39
 
45 40
 }

+ 8
- 8
src/main/java/io/zipcoder/interfaces/Instructors.java View File

@@ -5,23 +5,23 @@ import java.util.ArrayList;
5 5
 public final class Instructors<E extends Person> extends People{
6 6
 
7 7
     private static final Instructors INSTANCE = new Instructors();
8
-    ArrayList<Educator> teacherList=new ArrayList<Educator>();
8
+    ArrayList<Teacher> teacherList=new ArrayList<Teacher>();
9 9
 
10 10
 
11 11
     private Instructors() {
12
-        teacherList.add(Educator.CHRIS);
13
-        teacherList.add(Educator.NHU);
14
-        teacherList.add(Educator.WILHEM);
15
-        teacherList.add(Educator.DOLIO);
16
-        teacherList.add(Educator.FROILAN);
17
-        teacherList.add(Educator.LEON);
12
+        teacherList.add(new Instructor(1L, "Chris"));
13
+        teacherList.add(new Instructor(2L, "Nhu"));
14
+        teacherList.add(new Instructor(3L, "Wilhem"));
15
+        teacherList.add(new Instructor(4L, "Dolio"));
16
+        teacherList.add(new Instructor(5L, "Froilan"));
17
+        teacherList.add(new Instructor(6L, "Leon"));
18 18
     }
19 19
 
20 20
     public static Instructors getInstance(){
21 21
         return INSTANCE;
22 22
     }
23 23
 
24
-    public ArrayList<Educator> getArray() {
24
+    public ArrayList<Teacher> getArray() {
25 25
         return teacherList;
26 26
     }
27 27
 

+ 0
- 8
src/main/java/io/zipcoder/interfaces/People.java View File

@@ -42,12 +42,4 @@ public abstract class People<T extends Person> {
42 42
     public void removeAll() {
43 43
         personList.removeAll(personList);
44 44
     }
45
-
46
-    public class PeopleMock extends People{
47
-
48
-
49
-        public ArrayList getArray() {
50
-            return null;
51
-        }
52
-    }
53 45
 }

+ 0
- 11
src/test/java/io/zipcoder/interfaces/EducatorTest.java View File

@@ -1,11 +0,0 @@
1
-package io.zipcoder.interfaces;
2
-
3
-import org.junit.Test;
4
-
5
-public class EducatorTest {
6
-
7
-
8
-
9
-//    @Test
10
-
11
-}

+ 2
- 2
src/test/java/io/zipcoder/interfaces/TestPeople.java View File

@@ -9,14 +9,14 @@ import java.util.ArrayList;
9 9
 
10 10
 public class TestPeople {
11 11
 
12
-    People.PeopleMock people;
12
+    People people;
13 13
     Person person;
14 14
     Person person2;
15 15
     Person person3;
16 16
 
17 17
     @Before
18 18
     public void setup(){
19
-
19
+        people = new People();
20 20
         person = new Person((long)1, "Jane");
21 21
         person2 = new Person((long)2, "Jill");
22 22
         person3 = new Person((long)3, "Jack");

+ 4
- 4
src/test/java/io/zipcoder/interfaces/testHostLecture.java View File

@@ -19,13 +19,13 @@ public class testHostLecture {
19 19
     @Test
20 20
     public void testHostLecture(){
21 21
         ZipCodeWilmington zip = ZipCodeWilmington.getInstance();
22
-        Student student = new Student(2L, "Maggie");
22
+        Students students = Students.getInstance();
23 23
         Instructors intsructors = Instructors.getInstance();
24
-        Educator instructor = Educator.CHRIS;
24
+        Instructor instructor = intsructors.getArray().get(0);
25 25
 
26
-        double start = student.getTotalStudayTime();
26
+        double start = students.getArray().get(0).getTotalStudayTime();
27 27
         zip.hostLecture(instructor,78.0);
28
-        double end = student.getTotalStudayTime();
28
+        double end = students.getArray().get(0).getTotalStudayTime();
29 29
         double expected =  2;
30 30
         double actual = end-start;
31 31