Browse Source

wiping my hands of this lab

rjsmall90 6 years ago
parent
commit
d45f393c3b

BIN
.DS_Store View File


+ 6
- 0
.idea/misc.xml View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
4
+    <output url="file://$PROJECT_DIR$/out" />
5
+  </component>
6
+</project>

+ 9
- 0
.idea/modules.xml View File

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

+ 6
- 0
.idea/vcs.xml View File

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+  </component>
6
+</project>

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

@@ -0,0 +1,569 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="f25d6b55-59f1-43a8-a506-9036c031ddb3" name="Default" comment="">
5
+      <change beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
6
+      <change beforePath="" afterPath="$PROJECT_DIR$/src/main/java/CheckPerson.java" />
7
+      <change beforePath="" afterPath="$PROJECT_DIR$/src/main/java/Person.java" />
8
+      <change beforePath="" afterPath="$PROJECT_DIR$/src/main/java/Roster.java" />
9
+      <change beforePath="" afterPath="$PROJECT_DIR$/src/main/java/SearchCriteria.java" />
10
+      <change beforePath="" afterPath="$PROJECT_DIR$/src/main/main.iml" />
11
+      <change beforePath="" afterPath="$PROJECT_DIR$/src/test/java/PersonTest.java" />
12
+      <change beforePath="" afterPath="$PROJECT_DIR$/src/test/java/SearchCriteriaTest.java" />
13
+      <change beforePath="" afterPath="$PROJECT_DIR$/src/test/test.iml" />
14
+    </list>
15
+    <ignored path="$PROJECT_DIR$/out/" />
16
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
17
+    <option name="TRACKING_ENABLED" value="true" />
18
+    <option name="SHOW_DIALOG" value="false" />
19
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
20
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
21
+    <option name="LAST_RESOLUTION" value="IGNORE" />
22
+  </component>
23
+  <component name="FileEditorManager">
24
+    <splitter split-orientation="vertical" split-proportion="0.67833334">
25
+      <split-first>
26
+        <leaf>
27
+          <file leaf-file-name="CheckPerson.java" pinned="false" current-in-tab="false">
28
+            <entry file="file://$PROJECT_DIR$/src/main/java/CheckPerson.java">
29
+              <provider selected="true" editor-type-id="text-editor">
30
+                <state relative-caret-position="0">
31
+                  <caret line="0" column="17" lean-forward="false" selection-start-line="0" selection-start-column="17" selection-end-line="0" selection-end-column="17" />
32
+                  <folding />
33
+                </state>
34
+              </provider>
35
+            </entry>
36
+          </file>
37
+          <file leaf-file-name="Person.java" pinned="false" current-in-tab="false">
38
+            <entry file="file://$PROJECT_DIR$/src/main/java/Person.java">
39
+              <provider selected="true" editor-type-id="text-editor">
40
+                <state relative-caret-position="3">
41
+                  <caret line="29" column="0" lean-forward="true" selection-start-line="29" selection-start-column="0" selection-end-line="29" selection-end-column="0" />
42
+                  <folding>
43
+                    <element signature="e#514#515#0" expanded="true" />
44
+                    <element signature="e#588#589#0" expanded="true" />
45
+                    <element signature="e#1129#1130#0" expanded="true" />
46
+                    <element signature="e#1184#1185#0" expanded="true" />
47
+                  </folding>
48
+                </state>
49
+              </provider>
50
+            </entry>
51
+          </file>
52
+          <file leaf-file-name="PersonTest.java" pinned="false" current-in-tab="true">
53
+            <entry file="file://$PROJECT_DIR$/src/test/java/PersonTest.java">
54
+              <provider selected="true" editor-type-id="text-editor">
55
+                <state relative-caret-position="239">
56
+                  <caret line="62" column="5" lean-forward="false" selection-start-line="62" selection-start-column="5" selection-end-line="62" selection-end-column="5" />
57
+                  <folding />
58
+                </state>
59
+              </provider>
60
+            </entry>
61
+          </file>
62
+          <file leaf-file-name="Roster.java" pinned="false" current-in-tab="false">
63
+            <entry file="file://$PROJECT_DIR$/src/main/java/Roster.java">
64
+              <provider selected="true" editor-type-id="text-editor">
65
+                <state relative-caret-position="210">
66
+                  <caret line="14" column="25" lean-forward="false" selection-start-line="14" selection-start-column="25" selection-end-line="14" selection-end-column="25" />
67
+                  <folding />
68
+                </state>
69
+              </provider>
70
+            </entry>
71
+          </file>
72
+          <file leaf-file-name="SearchCriteria.java" pinned="false" current-in-tab="false">
73
+            <entry file="file://$PROJECT_DIR$/src/main/java/SearchCriteria.java">
74
+              <provider selected="true" editor-type-id="text-editor">
75
+                <state relative-caret-position="60">
76
+                  <caret line="4" column="0" lean-forward="true" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
77
+                  <folding>
78
+                    <element signature="imports" expanded="true" />
79
+                  </folding>
80
+                </state>
81
+              </provider>
82
+            </entry>
83
+          </file>
84
+          <file leaf-file-name="SearchCriteriaTest.java" pinned="false" current-in-tab="false">
85
+            <entry file="file://$PROJECT_DIR$/src/test/java/SearchCriteriaTest.java">
86
+              <provider selected="true" editor-type-id="text-editor">
87
+                <state relative-caret-position="30">
88
+                  <caret line="4" column="27" lean-forward="false" selection-start-line="4" selection-start-column="27" selection-end-line="4" selection-end-column="27" />
89
+                  <folding />
90
+                </state>
91
+              </provider>
92
+            </entry>
93
+          </file>
94
+        </leaf>
95
+      </split-first>
96
+      <split-second>
97
+        <leaf>
98
+          <file leaf-file-name="README.md" pinned="false" current-in-tab="true">
99
+            <entry file="file://$PROJECT_DIR$/README.md">
100
+              <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
101
+                <state split_layout="SECOND">
102
+                  <first_editor relative-caret-position="0">
103
+                    <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
104
+                    <folding />
105
+                  </first_editor>
106
+                  <second_editor />
107
+                </state>
108
+              </provider>
109
+            </entry>
110
+          </file>
111
+        </leaf>
112
+      </split-second>
113
+    </splitter>
114
+  </component>
115
+  <component name="FileTemplateManagerImpl">
116
+    <option name="RECENT_TEMPLATES">
117
+      <list>
118
+        <option value="Class" />
119
+        <option value="JUnit4 Test Class" />
120
+      </list>
121
+    </option>
122
+  </component>
123
+  <component name="Git.Settings">
124
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
125
+  </component>
126
+  <component name="GradleLocalSettings">
127
+    <option name="externalProjectsViewState">
128
+      <projects_view />
129
+    </option>
130
+  </component>
131
+  <component name="IdeDocumentHistory">
132
+    <option name="CHANGED_PATHS">
133
+      <list>
134
+        <option value="$PROJECT_DIR$/src/main/java/SearchCriteriaLocal.java" />
135
+        <option value="$PROJECT_DIR$/src/test/java/SearchCriteriaTest.java" />
136
+        <option value="$PROJECT_DIR$/src/main/java/SearchCriteria.java" />
137
+        <option value="$PROJECT_DIR$/src/main/java/Person.java" />
138
+        <option value="$PROJECT_DIR$/src/main/java/Roster.java" />
139
+        <option value="$PROJECT_DIR$/src/test/java/RosterTest.java" />
140
+        <option value="$PROJECT_DIR$/src/test/java/PersonTest.java" />
141
+      </list>
142
+    </option>
143
+  </component>
144
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
145
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
146
+  <component name="JsGulpfileManager">
147
+    <detection-done>true</detection-done>
148
+    <sorting>DEFINITION_ORDER</sorting>
149
+  </component>
150
+  <component name="ProjectFrameBounds">
151
+    <option name="x" value="-359" />
152
+    <option name="y" value="-1058" />
153
+    <option name="width" value="1920" />
154
+    <option name="height" value="990" />
155
+  </component>
156
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true">
157
+    <ConfirmationsSetting value="2" id="Add" />
158
+  </component>
159
+  <component name="ProjectView">
160
+    <navigator currentView="ProjectPane" proportions="" version="1">
161
+      <flattenPackages />
162
+      <showMembers />
163
+      <showModules />
164
+      <showLibraryContents />
165
+      <hideEmptyPackages />
166
+      <abbreviatePackageNames />
167
+      <autoscrollToSource />
168
+      <autoscrollFromSource />
169
+      <sortByType />
170
+      <manualOrder />
171
+      <foldersAlwaysOnTop value="true" />
172
+    </navigator>
173
+    <panes>
174
+      <pane id="Scope" />
175
+      <pane id="PackagesPane" />
176
+      <pane id="AndroidView" />
177
+      <pane id="Scratches" />
178
+      <pane id="ProjectPane">
179
+        <subPane>
180
+          <expand>
181
+            <path>
182
+              <item name="ZCW-Lambdas" type="b2602c69:ProjectViewProjectNode" />
183
+              <item name="main" type="462c0819:PsiDirectoryNode" />
184
+            </path>
185
+            <path>
186
+              <item name="ZCW-Lambdas" type="b2602c69:ProjectViewProjectNode" />
187
+              <item name="main" type="462c0819:PsiDirectoryNode" />
188
+              <item name="java" type="462c0819:PsiDirectoryNode" />
189
+            </path>
190
+            <path>
191
+              <item name="ZCW-Lambdas" type="b2602c69:ProjectViewProjectNode" />
192
+              <item name="test" type="462c0819:PsiDirectoryNode" />
193
+            </path>
194
+            <path>
195
+              <item name="ZCW-Lambdas" type="b2602c69:ProjectViewProjectNode" />
196
+              <item name="test" type="462c0819:PsiDirectoryNode" />
197
+              <item name="java" type="462c0819:PsiDirectoryNode" />
198
+            </path>
199
+          </expand>
200
+          <select />
201
+        </subPane>
202
+      </pane>
203
+    </panes>
204
+  </component>
205
+  <component name="PropertiesComponent">
206
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
207
+    <property name="WebServerToolWindowFactoryState" value="false" />
208
+    <property name="aspect.path.notification.shown" value="true" />
209
+    <property name="com.intellij.testIntegration.createTest.CreateTestDialog.defaultLibrary" value="JUnit4" />
210
+  </component>
211
+  <component name="RecentsManager">
212
+    <key name="CreateTestDialog.RecentsKey">
213
+      <recent name="" />
214
+    </key>
215
+    <key name="CreateTestDialog.Recents.Supers">
216
+      <recent name="" />
217
+    </key>
218
+  </component>
219
+  <component name="RunDashboard">
220
+    <option name="ruleStates">
221
+      <list>
222
+        <RuleState>
223
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
224
+        </RuleState>
225
+        <RuleState>
226
+          <option name="name" value="StatusDashboardGroupingRule" />
227
+        </RuleState>
228
+      </list>
229
+    </option>
230
+  </component>
231
+  <component name="RunManager" selected="JUnit.PersonTest">
232
+    <configuration default="true" type="Applet" factoryName="Applet">
233
+      <option name="HTML_USED" value="false" />
234
+      <option name="WIDTH" value="400" />
235
+      <option name="HEIGHT" value="300" />
236
+      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
237
+      <module />
238
+    </configuration>
239
+    <configuration default="true" type="Application" factoryName="Application">
240
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
241
+      <option name="MAIN_CLASS_NAME" />
242
+      <option name="VM_PARAMETERS" />
243
+      <option name="PROGRAM_PARAMETERS" />
244
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
245
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
246
+      <option name="ALTERNATIVE_JRE_PATH" />
247
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
248
+      <option name="ENV_VARIABLES" />
249
+      <option name="PASS_PARENT_ENVS" value="true" />
250
+      <module name="" />
251
+      <envs />
252
+    </configuration>
253
+    <configuration name="PersonTest" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
254
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
255
+      <module name="test" />
256
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
257
+      <option name="ALTERNATIVE_JRE_PATH" />
258
+      <option name="PACKAGE_NAME" value="" />
259
+      <option name="MAIN_CLASS_NAME" value="PersonTest" />
260
+      <option name="METHOD_NAME" />
261
+      <option name="TEST_OBJECT" value="class" />
262
+      <option name="VM_PARAMETERS" value="-ea" />
263
+      <option name="PARAMETERS" />
264
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
265
+      <option name="ENV_VARIABLES" />
266
+      <option name="PASS_PARENT_ENVS" value="true" />
267
+      <option name="TEST_SEARCH_SCOPE">
268
+        <value defaultName="singleModule" />
269
+      </option>
270
+      <envs />
271
+      <patterns />
272
+    </configuration>
273
+    <configuration name="PersonTest.printPerson" type="JUnit" factoryName="JUnit" temporary="true" nameIsGenerated="true">
274
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
275
+      <module name="test" />
276
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
277
+      <option name="ALTERNATIVE_JRE_PATH" />
278
+      <option name="PACKAGE_NAME" value="" />
279
+      <option name="MAIN_CLASS_NAME" value="PersonTest" />
280
+      <option name="METHOD_NAME" value="printPerson" />
281
+      <option name="TEST_OBJECT" value="method" />
282
+      <option name="VM_PARAMETERS" value="-ea" />
283
+      <option name="PARAMETERS" />
284
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
285
+      <option name="ENV_VARIABLES" />
286
+      <option name="PASS_PARENT_ENVS" value="true" />
287
+      <option name="TEST_SEARCH_SCOPE">
288
+        <value defaultName="singleModule" />
289
+      </option>
290
+      <envs />
291
+      <patterns />
292
+    </configuration>
293
+    <configuration default="true" type="JUnit" factoryName="JUnit">
294
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
295
+      <module name="" />
296
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
297
+      <option name="ALTERNATIVE_JRE_PATH" />
298
+      <option name="PACKAGE_NAME" />
299
+      <option name="MAIN_CLASS_NAME" />
300
+      <option name="METHOD_NAME" />
301
+      <option name="TEST_OBJECT" value="class" />
302
+      <option name="VM_PARAMETERS" value="-ea" />
303
+      <option name="PARAMETERS" />
304
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
305
+      <option name="ENV_VARIABLES" />
306
+      <option name="PASS_PARENT_ENVS" value="true" />
307
+      <option name="TEST_SEARCH_SCOPE">
308
+        <value defaultName="singleModule" />
309
+      </option>
310
+      <envs />
311
+      <patterns />
312
+    </configuration>
313
+    <configuration default="true" type="Remote" factoryName="Remote">
314
+      <option name="USE_SOCKET_TRANSPORT" value="true" />
315
+      <option name="SERVER_MODE" value="false" />
316
+      <option name="SHMEM_ADDRESS" value="javadebug" />
317
+      <option name="HOST" value="localhost" />
318
+      <option name="PORT" value="5005" />
319
+    </configuration>
320
+    <configuration default="true" type="TestNG" factoryName="TestNG">
321
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
322
+      <module name="" />
323
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
324
+      <option name="ALTERNATIVE_JRE_PATH" />
325
+      <option name="SUITE_NAME" />
326
+      <option name="PACKAGE_NAME" />
327
+      <option name="MAIN_CLASS_NAME" />
328
+      <option name="METHOD_NAME" />
329
+      <option name="GROUP_NAME" />
330
+      <option name="TEST_OBJECT" value="CLASS" />
331
+      <option name="VM_PARAMETERS" value="-ea" />
332
+      <option name="PARAMETERS" />
333
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
334
+      <option name="OUTPUT_DIRECTORY" />
335
+      <option name="ANNOTATION_TYPE" />
336
+      <option name="ENV_VARIABLES" />
337
+      <option name="PASS_PARENT_ENVS" value="true" />
338
+      <option name="TEST_SEARCH_SCOPE">
339
+        <value defaultName="singleModule" />
340
+      </option>
341
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
342
+      <option name="PROPERTIES_FILE" />
343
+      <envs />
344
+      <properties />
345
+      <listeners />
346
+    </configuration>
347
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
348
+      <module name="" />
349
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
350
+      <option name="PROGRAM_PARAMETERS" />
351
+      <predefined_log_file id="idea.log" enabled="true" />
352
+    </configuration>
353
+    <list size="2">
354
+      <item index="0" class="java.lang.String" itemvalue="JUnit.PersonTest.printPerson" />
355
+      <item index="1" class="java.lang.String" itemvalue="JUnit.PersonTest" />
356
+    </list>
357
+    <recent_temporary>
358
+      <list size="2">
359
+        <item index="0" class="java.lang.String" itemvalue="JUnit.PersonTest" />
360
+        <item index="1" class="java.lang.String" itemvalue="JUnit.PersonTest.printPerson" />
361
+      </list>
362
+    </recent_temporary>
363
+  </component>
364
+  <component name="ShelveChangesManager" show_recycled="false">
365
+    <option name="remove_strategy" value="false" />
366
+  </component>
367
+  <component name="SvnConfiguration">
368
+    <configuration />
369
+  </component>
370
+  <component name="TaskManager">
371
+    <task active="true" id="Default" summary="Default task">
372
+      <changelist id="f25d6b55-59f1-43a8-a506-9036c031ddb3" name="Default" comment="" />
373
+      <created>1530468961143</created>
374
+      <option name="number" value="Default" />
375
+      <option name="presentableId" value="Default" />
376
+      <updated>1530468961143</updated>
377
+      <workItem from="1530468965660" duration="10627000" />
378
+    </task>
379
+    <servers />
380
+  </component>
381
+  <component name="TestHistory">
382
+    <history-entry file="PersonTest - 2018.07.01 at 15h 44m 27s.xml">
383
+      <configuration name="PersonTest" configurationId="JUnit" />
384
+    </history-entry>
385
+    <history-entry file="PersonTest - 2018.07.01 at 15h 50m 53s.xml">
386
+      <configuration name="PersonTest" configurationId="JUnit" />
387
+    </history-entry>
388
+    <history-entry file="PersonTest - 2018.07.01 at 15h 59m 38s.xml">
389
+      <configuration name="PersonTest" configurationId="JUnit" />
390
+    </history-entry>
391
+    <history-entry file="PersonTest - 2018.07.01 at 16h 00m 12s.xml">
392
+      <configuration name="PersonTest" configurationId="JUnit" />
393
+    </history-entry>
394
+    <history-entry file="PersonTest - 2018.07.01 at 16h 09m 14s.xml">
395
+      <configuration name="PersonTest" configurationId="JUnit" />
396
+    </history-entry>
397
+    <history-entry file="PersonTest - 2018.07.01 at 16h 09m 33s.xml">
398
+      <configuration name="PersonTest" configurationId="JUnit" />
399
+    </history-entry>
400
+    <history-entry file="PersonTest - 2018.07.01 at 16h 49m 42s.xml">
401
+      <configuration name="PersonTest" configurationId="JUnit" />
402
+    </history-entry>
403
+    <history-entry file="PersonTest - 2018.07.01 at 16h 50m 12s.xml">
404
+      <configuration name="PersonTest" configurationId="JUnit" />
405
+    </history-entry>
406
+    <history-entry file="PersonTest - 2018.07.01 at 16h 51m 44s.xml">
407
+      <configuration name="PersonTest" configurationId="JUnit" />
408
+    </history-entry>
409
+    <history-entry file="PersonTest - 2018.07.01 at 17h 57m 15s.xml">
410
+      <configuration name="PersonTest" configurationId="JUnit" />
411
+    </history-entry>
412
+  </component>
413
+  <component name="TimeTrackingManager">
414
+    <option name="totallyTimeSpent" value="10627000" />
415
+  </component>
416
+  <component name="ToolWindowManager">
417
+    <frame x="-359" y="-1058" width="1920" height="990" extended-state="0" />
418
+    <editor active="true" />
419
+    <layout>
420
+      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
421
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
422
+      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32960895" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
423
+      <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
424
+      <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
425
+      <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
426
+      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
427
+      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
428
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32960895" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
429
+      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
430
+      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
431
+      <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
432
+      <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
433
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.16453674" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
434
+      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
435
+      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
436
+      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
437
+      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
438
+      <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
439
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
440
+      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
441
+      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
442
+      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
443
+      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
444
+      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
445
+      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
446
+      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
447
+    </layout>
448
+  </component>
449
+  <component name="TypeScriptGeneratedFilesManager">
450
+    <option name="version" value="1" />
451
+  </component>
452
+  <component name="VcsContentAnnotationSettings">
453
+    <option name="myLimit" value="2678400000" />
454
+  </component>
455
+  <component name="XDebuggerManager">
456
+    <breakpoint-manager>
457
+      <option name="time" value="1" />
458
+    </breakpoint-manager>
459
+    <watches-manager />
460
+  </component>
461
+  <component name="editorHistoryManager">
462
+    <entry file="file://$PROJECT_DIR$/src/test/java/SearchCriteriaAnonTest.java">
463
+      <provider selected="true" editor-type-id="text-editor">
464
+        <state relative-caret-position="30">
465
+          <caret line="4" column="13" lean-forward="false" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="13" />
466
+          <folding />
467
+        </state>
468
+      </provider>
469
+    </entry>
470
+    <entry file="file://$PROJECT_DIR$/src/main/java/SearchCriteriaAnon.java">
471
+      <provider selected="true" editor-type-id="text-editor">
472
+        <state relative-caret-position="30">
473
+          <caret line="2" column="13" lean-forward="false" selection-start-line="2" selection-start-column="13" selection-end-line="2" selection-end-column="13" />
474
+          <folding />
475
+        </state>
476
+      </provider>
477
+    </entry>
478
+    <entry file="file://$PROJECT_DIR$/src/test/java/SearchCriteriaTest.java">
479
+      <provider selected="true" editor-type-id="text-editor">
480
+        <state relative-caret-position="30">
481
+          <caret line="4" column="27" lean-forward="false" selection-start-line="4" selection-start-column="27" selection-end-line="4" selection-end-column="27" />
482
+          <folding />
483
+        </state>
484
+      </provider>
485
+    </entry>
486
+    <entry file="file://$PROJECT_DIR$/README.md">
487
+      <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
488
+        <state split_layout="SECOND">
489
+          <first_editor relative-caret-position="0">
490
+            <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
491
+            <folding />
492
+          </first_editor>
493
+          <second_editor />
494
+        </state>
495
+      </provider>
496
+    </entry>
497
+    <entry file="file://$PROJECT_DIR$/src/main/java/SearchCriteria.java">
498
+      <provider selected="true" editor-type-id="text-editor">
499
+        <state relative-caret-position="60">
500
+          <caret line="4" column="0" lean-forward="true" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
501
+          <folding>
502
+            <element signature="imports" expanded="true" />
503
+          </folding>
504
+        </state>
505
+      </provider>
506
+    </entry>
507
+    <entry file="file://$PROJECT_DIR$/src/test/java/RosterTest.java">
508
+      <provider selected="true" editor-type-id="text-editor">
509
+        <state relative-caret-position="120">
510
+          <caret line="13" column="23" lean-forward="false" selection-start-line="13" selection-start-column="23" selection-end-line="13" selection-end-column="23" />
511
+          <folding />
512
+        </state>
513
+      </provider>
514
+    </entry>
515
+    <entry file="file://$PROJECT_DIR$/src/main/java/Roster.java">
516
+      <provider selected="true" editor-type-id="text-editor">
517
+        <state relative-caret-position="210">
518
+          <caret line="14" column="25" lean-forward="false" selection-start-line="14" selection-start-column="25" selection-end-line="14" selection-end-column="25" />
519
+          <folding />
520
+        </state>
521
+      </provider>
522
+    </entry>
523
+    <entry file="file://$PROJECT_DIR$/src/main/java/CheckPerson.java">
524
+      <provider selected="true" editor-type-id="text-editor">
525
+        <state relative-caret-position="0">
526
+          <caret line="0" column="17" lean-forward="false" selection-start-line="0" selection-start-column="17" selection-end-line="0" selection-end-column="17" />
527
+          <folding />
528
+        </state>
529
+      </provider>
530
+    </entry>
531
+    <entry file="file://$PROJECT_DIR$/src/main/java/Person.java">
532
+      <provider selected="true" editor-type-id="text-editor">
533
+        <state relative-caret-position="3">
534
+          <caret line="29" column="0" lean-forward="true" selection-start-line="29" selection-start-column="0" selection-end-line="29" selection-end-column="0" />
535
+          <folding>
536
+            <element signature="e#514#515#0" expanded="true" />
537
+            <element signature="e#588#589#0" expanded="true" />
538
+            <element signature="e#1129#1130#0" expanded="true" />
539
+            <element signature="e#1184#1185#0" expanded="true" />
540
+          </folding>
541
+        </state>
542
+      </provider>
543
+    </entry>
544
+    <entry file="file://$PROJECT_DIR$/src/test/java/PersonTest.java">
545
+      <provider selected="true" editor-type-id="text-editor">
546
+        <state relative-caret-position="239">
547
+          <caret line="62" column="5" lean-forward="false" selection-start-line="62" selection-start-column="5" selection-end-line="62" selection-end-column="5" />
548
+          <folding />
549
+        </state>
550
+      </provider>
551
+    </entry>
552
+  </component>
553
+  <component name="masterDetails">
554
+    <states>
555
+      <state key="ProjectJDKs.UI">
556
+        <settings>
557
+          <last-edited>1.8</last-edited>
558
+          <splitter-proportions>
559
+            <option name="proportions">
560
+              <list>
561
+                <option value="0.2" />
562
+              </list>
563
+            </option>
564
+          </splitter-proportions>
565
+        </settings>
566
+      </state>
567
+    </states>
568
+  </component>
569
+</project>

BIN
out/production/main/CheckPerson.class View File


BIN
out/production/main/Person$Sex.class View File


BIN
out/production/main/Person.class View File


BIN
out/production/main/Roster.class View File


BIN
out/production/main/SearchCriteria.class View File


BIN
out/test/test/PersonTest.class View File


BIN
out/test/test/SearchCriteriaTest.class View File


+ 5
- 0
src/main/java/CheckPerson.java View File

@@ -0,0 +1,5 @@
1
+public interface CheckPerson {
2
+
3
+        boolean test(Person p);
4
+    }
5
+

+ 56
- 0
src/main/java/Person.java View File

@@ -0,0 +1,56 @@
1
+import java.time.LocalDate;
2
+import java.util.ArrayList;
3
+import java.util.List;
4
+
5
+public class Person {
6
+
7
+    public enum Sex {
8
+        MALE, FEMALE;
9
+    }
10
+
11
+    String name;
12
+    LocalDate birthday;
13
+    Sex gender;
14
+    String emailAddress;
15
+    Integer age;
16
+
17
+    public Person() {
18
+    }
19
+    public Person(String name, LocalDate birthday, Sex gender, String emailAddress) {
20
+        this.name = name; this.birthday = birthday;
21
+        this.gender = gender; this.emailAddress = emailAddress;
22
+    }
23
+    public int getAge() {
24
+       return age = LocalDate.now().getYear() - birthday.getYear();
25
+    }
26
+
27
+    public String getName() { return name; }
28
+
29
+    public void setName(String name) { this.name = name; }
30
+
31
+    public LocalDate getBirthday() { return birthday; }
32
+
33
+    public void setBirthday(LocalDate birthday) { this.birthday = birthday; }
34
+
35
+    public Sex getGender() { return gender; }
36
+
37
+    public void setGender(Sex gender) { this.gender = gender; }
38
+
39
+    public String getEmailAddress() { return emailAddress; }
40
+
41
+    public void setEmailAddress(String emailAddress) { this.emailAddress = emailAddress; }
42
+
43
+    public void printPerson() {
44
+        List<Person> roster = new ArrayList<>();
45
+    }
46
+
47
+    public static void printPersons (List <Person> roster, CheckPerson tester){
48
+        roster.forEach(p -> {
49
+            if(tester.test(p)) { p.printPerson();
50
+            }
51
+            });
52
+
53
+    }
54
+
55
+
56
+}

+ 32
- 0
src/main/java/Roster.java View File

@@ -0,0 +1,32 @@
1
+import java.util.List;
2
+
3
+public class Roster extends Person {
4
+
5
+    public List<Person> roster;
6
+    Person person;
7
+
8
+    public Roster(){}
9
+
10
+    public Roster(List<Person> roster) {
11
+        this.roster = roster;
12
+
13
+    }
14
+
15
+    public void addPerson() {
16
+        roster.add(person);
17
+
18
+    }
19
+
20
+    public void remove(){
21
+        roster.remove(person);
22
+
23
+    }
24
+
25
+    public void printPerson() {
26
+
27
+
28
+
29
+    }
30
+
31
+
32
+}

+ 9
- 0
src/main/java/SearchCriteria.java View File

@@ -0,0 +1,9 @@
1
+import java.time.LocalDate;
2
+import java.util.List;
3
+
4
+public abstract class SearchCriteria extends Person implements CheckPerson {
5
+
6
+    public SearchCriteria() {
7
+    }
8
+
9
+}

+ 11
- 0
src/main/main.iml View File

@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$">
6
+      <sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" />
7
+    </content>
8
+    <orderEntry type="inheritedJdk" />
9
+    <orderEntry type="sourceFolder" forTests="false" />
10
+  </component>
11
+</module>

+ 65
- 0
src/test/java/PersonTest.java View File

@@ -0,0 +1,65 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+import java.time.LocalDate;
5
+
6
+import static javafx.scene.input.KeyCode.T;
7
+import static org.junit.Assert.*;
8
+
9
+public class PersonTest {
10
+    LocalDate birthday = LocalDate.of(1990, 12, 02);
11
+    String name = "Ryan"; Person.Sex gender = Person.Sex.MALE;
12
+    String emailAddress = "james_FT@littleking.com";
13
+
14
+    Person person = new Person(name, birthday, gender, emailAddress);
15
+
16
+    @Test
17
+    public void getAge() {
18
+        int expected = 28;
19
+        assertEquals(expected, person.getAge());
20
+    }
21
+
22
+    @Test
23
+    public void getName() {
24
+        String expected = "Ryan";
25
+        assertEquals(expected, person.getName());
26
+
27
+    }
28
+
29
+    @Test
30
+    public void getBirthday() {
31
+        LocalDate expected = LocalDate.of(1990, 12, 02);
32
+        person.setBirthday(expected);
33
+        assertEquals(expected, person.getBirthday());
34
+    }
35
+
36
+    @Test
37
+    public void getGender() {
38
+        Person.Sex expected = Person.Sex.MALE;
39
+        person.setGender(expected);
40
+        assertEquals(expected, person.getGender());
41
+    }
42
+
43
+    @Test
44
+    public void getEmailAddress() {
45
+        String expected = "james_FT@littleking.com";
46
+        person.setEmailAddress(expected);
47
+    assertEquals(expected, person.getEmailAddress());
48
+    }
49
+
50
+    @Test
51
+    public void printPerson() {
52
+
53
+    }
54
+
55
+    @Test
56
+    public void printPersonsOlderThan() {
57
+
58
+
59
+    }
60
+
61
+    @Test
62
+    public void printPersonsWithinAgeRange() {
63
+    }
64
+
65
+}

+ 10
- 0
src/test/java/SearchCriteriaTest.java View File

@@ -0,0 +1,10 @@
1
+import org.junit.Test;
2
+
3
+import static org.junit.Assert.*;
4
+
5
+public class SearchCriteriaTest {
6
+
7
+    @Test
8
+    public void printPersons() {
9
+    }
10
+}

+ 22
- 0
src/test/test.iml View File

@@ -0,0 +1,22 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$">
6
+      <sourceFolder url="file://$MODULE_DIR$/java" isTestSource="true" />
7
+    </content>
8
+    <orderEntry type="inheritedJdk" />
9
+    <orderEntry type="sourceFolder" forTests="false" />
10
+    <orderEntry type="module-library" scope="TEST">
11
+      <library name="JUnit4">
12
+        <CLASSES>
13
+          <root url="jar://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar!/" />
14
+          <root url="jar://$APPLICATION_HOME_DIR$/lib/hamcrest-core-1.3.jar!/" />
15
+        </CLASSES>
16
+        <JAVADOC />
17
+        <SOURCES />
18
+      </library>
19
+    </orderEntry>
20
+    <orderEntry type="module" module-name="main" scope="TEST" />
21
+  </component>
22
+</module>

BIN
test/ZCW-Lambdas/PersonTest.class View File


BIN
test/ZCW-Lambdas/SearchCriteriaAnonTest.class View File


BIN
test/ZCW-Lambdas/SearchCriteriaLocalTest.class View File