Leon 7 jaren geleden
bovenliggende
commit
e739839280

+ 238
- 152
.idea/workspace.xml Bestand weergeven

@@ -2,11 +2,13 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="30b7e4a0-b899-49c3-865c-0311dfadae62" name="Default" comment="">
5
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/PersonConversionAgent.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/PersonConversionAgent.java" />
6
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerHandler.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerHandler.java" />
7
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerWarehouse.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerWarehouse.java" />
8
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestPersonWarehouse.java" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestPersonWarehouse.java" />
9
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestSuiteAnthropoidRegression.java" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestSuiteAnthropoidRegression.java" />
5
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamFilter.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamFilter.java" />
6
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamMap.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamMap.java" />
7
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java" />
8
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java" />
9
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ArrayConverter.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ArrayConverter.java" />
10
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ListConverter.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ListConverter.java" />
11
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/StreamConverter.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/StreamConverter.java" />
10 12
     </list>
11 13
     <ignored path="$PROJECT_DIR$/out/" />
12 14
     <ignored path="$PROJECT_DIR$/target/" />
@@ -43,109 +45,148 @@
43 45
   <component name="ExportTestResults" outputFolder="$PROJECT_DIR$" openResultsInEditor="true" userTempatePath="" />
44 46
   <component name="FileEditorManager">
45 47
     <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
46
-      <file leaf-file-name="TestStreamFilter.java" pinned="false" current-in-tab="false">
47
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/TestStreamFilter.java">
48
+      <file leaf-file-name="StreamFilter.java" pinned="false" current-in-tab="false">
49
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamFilter.java">
48 50
           <provider selected="true" editor-type-id="text-editor">
49
-            <state relative-caret-position="285">
50
-              <caret line="31" column="49" lean-forward="true" selection-start-line="31" selection-start-column="49" selection-end-line="31" selection-end-column="49" />
51
+            <state relative-caret-position="417">
52
+              <caret line="82" column="10" lean-forward="false" selection-start-line="82" selection-start-column="10" selection-end-line="82" selection-end-column="10" />
51 53
               <folding>
52
-                <element signature="e#807#808#0" expanded="true" />
53
-                <element signature="e#863#864#0" expanded="true" />
54
+                <element signature="e#1177#1178#0" expanded="true" />
55
+                <element signature="e#1219#1220#0" expanded="true" />
56
+                <element signature="e#1769#1770#0" expanded="true" />
57
+                <element signature="e#1796#1797#0" expanded="true" />
58
+                <element signature="e#1987#1988#0" expanded="true" />
59
+                <element signature="e#2014#2015#0" expanded="true" />
60
+                <element signature="e#2203#2204#0" expanded="true" />
61
+                <element signature="e#2230#2231#0" expanded="true" />
62
+                <element signature="e#2423#2424#0" expanded="true" />
63
+                <element signature="e#2450#2451#0" expanded="true" />
54 64
               </folding>
55 65
             </state>
56 66
           </provider>
57 67
         </entry>
58 68
       </file>
59
-      <file leaf-file-name="TestPersonFactory.java" pinned="false" current-in-tab="false">
60
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestPersonFactory.java">
69
+      <file leaf-file-name="Person.java" pinned="false" current-in-tab="false">
70
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/Person.java">
61 71
           <provider selected="true" editor-type-id="text-editor">
62
-            <state relative-caret-position="330">
63
-              <caret line="32" column="12" lean-forward="false" selection-start-line="32" selection-start-column="12" selection-end-line="32" selection-end-column="12" />
64
-              <folding>
65
-                <element signature="e#975#976#0" expanded="true" />
66
-                <element signature="e#1052#1053#0" expanded="true" />
67
-              </folding>
72
+            <state relative-caret-position="300">
73
+              <caret line="24" column="30" lean-forward="false" selection-start-line="24" selection-start-column="30" selection-end-line="24" selection-end-column="30" />
74
+              <folding />
68 75
             </state>
69 76
           </provider>
70 77
         </entry>
71 78
       </file>
72
-      <file leaf-file-name="TestSuiteAnthropoidRegression.java" pinned="false" current-in-tab="true">
73
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestSuiteAnthropoidRegression.java">
79
+      <file leaf-file-name="PersonFactory.java" pinned="false" current-in-tab="false">
80
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java">
74 81
           <provider selected="true" editor-type-id="text-editor">
75
-            <state relative-caret-position="255">
76
-              <caret line="17" column="69" lean-forward="false" selection-start-line="17" selection-start-column="69" selection-end-line="17" selection-end-column="69" />
82
+            <state relative-caret-position="432">
83
+              <caret line="58" column="11" lean-forward="false" selection-start-line="58" selection-start-column="11" selection-end-line="58" selection-end-column="11" />
77 84
               <folding>
78
-                <element signature="imports" expanded="true" />
85
+                <element signature="e#1453#1454#0" expanded="true" />
86
+                <element signature="e#1480#1481#0" expanded="true" />
87
+                <element signature="e#1674#1675#0" expanded="true" />
88
+                <element signature="e#1701#1702#0" expanded="true" />
89
+                <element signature="e#1951#1952#0" expanded="true" />
90
+                <element signature="e#1978#1979#0" expanded="true" />
79 91
               </folding>
80 92
             </state>
81 93
           </provider>
82 94
         </entry>
83 95
       </file>
84
-      <file leaf-file-name="TestConstants.java" pinned="false" current-in-tab="false">
85
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/TestConstants.java">
96
+      <file leaf-file-name="LoggerHandler.java" pinned="false" current-in-tab="false">
97
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerHandler.java">
86 98
           <provider selected="true" editor-type-id="text-editor">
87 99
             <state relative-caret-position="105">
88
-              <caret line="7" column="26" lean-forward="false" selection-start-line="7" selection-start-column="26" selection-end-line="7" selection-end-column="26" />
100
+              <caret line="13" column="69" lean-forward="false" selection-start-line="13" selection-start-column="69" selection-end-line="13" selection-end-column="69" />
89 101
               <folding />
90 102
             </state>
91 103
           </provider>
92 104
         </entry>
93 105
       </file>
94
-      <file leaf-file-name="TestConversionAgent.java" pinned="false" current-in-tab="false">
95
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/conversions/TestConversionAgent.java">
106
+      <file leaf-file-name="StreamMap.java" pinned="false" current-in-tab="false">
107
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamMap.java">
96 108
           <provider selected="true" editor-type-id="text-editor">
97
-            <state relative-caret-position="272">
98
-              <caret line="28" column="55" lean-forward="true" selection-start-line="28" selection-start-column="55" selection-end-line="28" selection-end-column="55" />
99
-              <folding />
109
+            <state relative-caret-position="480">
110
+              <caret line="38" column="1" lean-forward="true" selection-start-line="38" selection-start-column="1" selection-end-line="38" selection-end-column="1" />
111
+              <folding>
112
+                <element signature="e#550#551#0" expanded="true" />
113
+                <element signature="e#577#578#0" expanded="true" />
114
+                <element signature="e#802#803#0" expanded="true" />
115
+                <element signature="e#829#830#0" expanded="true" />
116
+                <element signature="e#1054#1055#0" expanded="true" />
117
+                <element signature="e#1081#1082#0" expanded="true" />
118
+              </folding>
100 119
             </state>
101 120
           </provider>
102 121
         </entry>
103 122
       </file>
104
-      <file leaf-file-name="TestConverterArray.java" pinned="false" current-in-tab="false">
105
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/conversions/TestConverterArray.java">
123
+      <file leaf-file-name="PersonWarehouse.java" pinned="false" current-in-tab="true">
124
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java">
106 125
           <provider selected="true" editor-type-id="text-editor">
107
-            <state relative-caret-position="90">
108
-              <caret line="6" column="69" lean-forward="false" selection-start-line="6" selection-start-column="69" selection-end-line="6" selection-end-column="69" />
109
-              <folding />
126
+            <state relative-caret-position="465">
127
+              <caret line="39" column="0" lean-forward="true" selection-start-line="39" selection-start-column="0" selection-end-line="39" selection-end-column="0" />
128
+              <folding>
129
+                <element signature="e#1420#1421#0" expanded="true" />
130
+                <element signature="e#1447#1448#0" expanded="true" />
131
+                <element signature="e#1668#1669#0" expanded="true" />
132
+                <element signature="e#1695#1696#0" expanded="true" />
133
+                <element signature="e#2044#2045#0" expanded="true" />
134
+                <element signature="e#2071#2072#0" expanded="true" />
135
+                <element signature="e#2202#2203#0" expanded="true" />
136
+                <element signature="e#2229#2230#0" expanded="true" />
137
+                <element signature="e#2343#2344#0" expanded="true" />
138
+                <element signature="e#2370#2371#0" expanded="true" />
139
+                <element signature="e#2486#2487#0" expanded="true" />
140
+                <element signature="e#2513#2514#0" expanded="true" />
141
+              </folding>
110 142
             </state>
111 143
           </provider>
112 144
         </entry>
113 145
       </file>
114
-      <file leaf-file-name="TestConverterList.java" pinned="false" current-in-tab="false">
115
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/conversions/TestConverterList.java">
146
+      <file leaf-file-name="ArrayConverter.java" pinned="false" current-in-tab="false">
147
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ArrayConverter.java">
116 148
           <provider selected="true" editor-type-id="text-editor">
117
-            <state relative-caret-position="90">
118
-              <caret line="6" column="69" lean-forward="false" selection-start-line="6" selection-start-column="69" selection-end-line="6" selection-end-column="69" />
119
-              <folding />
149
+            <state relative-caret-position="315">
150
+              <caret line="30" column="20" lean-forward="false" selection-start-line="30" selection-start-column="20" selection-end-line="30" selection-end-column="20" />
151
+              <folding>
152
+                <element signature="e#823#824#0" expanded="true" />
153
+                <element signature="e#850#851#0" expanded="true" />
154
+              </folding>
120 155
             </state>
121 156
           </provider>
122 157
         </entry>
123 158
       </file>
124
-      <file leaf-file-name="TestConverterStream.java" pinned="false" current-in-tab="false">
125
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/conversions/TestConverterStream.java">
159
+      <file leaf-file-name="ListConverter.java" pinned="false" current-in-tab="false">
160
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ListConverter.java">
126 161
           <provider selected="true" editor-type-id="text-editor">
127
-            <state relative-caret-position="90">
128
-              <caret line="6" column="69" lean-forward="false" selection-start-line="6" selection-start-column="69" selection-end-line="6" selection-end-column="69" />
129
-              <folding />
162
+            <state relative-caret-position="360">
163
+              <caret line="34" column="20" lean-forward="false" selection-start-line="34" selection-start-column="20" selection-end-line="34" selection-end-column="20" />
164
+              <folding>
165
+                <element signature="e#888#889#0" expanded="true" />
166
+                <element signature="e#915#916#0" expanded="true" />
167
+              </folding>
130 168
             </state>
131 169
           </provider>
132 170
         </entry>
133 171
       </file>
134
-      <file leaf-file-name="TestSuiteConversionRegression.java" pinned="false" current-in-tab="false">
135
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/conversions/TestSuiteConversionRegression.java">
172
+      <file leaf-file-name="StreamConverter.java" pinned="false" current-in-tab="false">
173
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/StreamConverter.java">
136 174
           <provider selected="true" editor-type-id="text-editor">
137
-            <state relative-caret-position="225">
138
-              <caret line="16" column="13" lean-forward="false" selection-start-line="16" selection-start-column="13" selection-end-line="16" selection-end-column="13" />
139
-              <folding />
175
+            <state relative-caret-position="420">
176
+              <caret line="35" column="7" lean-forward="false" selection-start-line="35" selection-start-column="7" selection-end-line="35" selection-end-column="7" />
177
+              <folding>
178
+                <element signature="e#892#893#0" expanded="true" />
179
+                <element signature="e#919#920#0" expanded="true" />
180
+              </folding>
140 181
             </state>
141 182
           </provider>
142 183
         </entry>
143 184
       </file>
144
-      <file leaf-file-name="TestPerson.java" pinned="false" current-in-tab="false">
145
-        <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestPerson.java">
185
+      <file leaf-file-name="LoggerWarehouse.java" pinned="false" current-in-tab="false">
186
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerWarehouse.java">
146 187
           <provider selected="true" editor-type-id="text-editor">
147
-            <state relative-caret-position="300">
148
-              <caret line="25" column="12" lean-forward="false" selection-start-line="25" selection-start-column="12" selection-end-line="25" selection-end-column="12" />
188
+            <state relative-caret-position="90">
189
+              <caret line="7" column="69" lean-forward="false" selection-start-line="7" selection-start-column="69" selection-end-line="7" selection-end-column="69" />
149 190
               <folding />
150 191
             </state>
151 192
           </provider>
@@ -224,22 +265,15 @@
224 265
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/conversions/TestSuiteConversionRegression.java" />
225 266
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/TestStreamMap.java" />
226 267
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/TestConstants.java" />
227
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamMap.java" />
228 268
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWorld.java" />
229
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamFilter.java" />
230 269
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/ReflectionUtils.java" />
231 270
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestPerson.java" />
232 271
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestPersonFactory.java" />
233 272
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/Person.java" />
234 273
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/StringUtils.java" />
235
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ArrayConverter.java" />
236
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ListConverter.java" />
237
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/StreamConverter.java" />
238 274
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ConversionAgent.java" />
239 275
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/DateUtils.java" />
240 276
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/conversions/TestConversionAgent.java" />
241
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java" />
242
-        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java" />
243 277
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/TestSuiteFullRegression.java" />
244 278
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/TestStreamFilter.java" />
245 279
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerWarehouse.java" />
@@ -247,6 +281,13 @@
247 281
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/PersonConversionAgent.java" />
248 282
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestPersonWarehouse.java" />
249 283
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestSuiteAnthropoidRegression.java" />
284
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamFilter.java" />
285
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java" />
286
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java" />
287
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ArrayConverter.java" />
288
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ListConverter.java" />
289
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/StreamConverter.java" />
290
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamMap.java" />
250 291
       </list>
251 292
     </option>
252 293
   </component>
@@ -942,9 +983,6 @@
942 983
     <servers />
943 984
   </component>
944 985
   <component name="TestHistory">
945
-    <history-entry file="TestPersonWarehouse - 2017.05.31 at 15h 56m 30s.xml">
946
-      <configuration name="TestPersonWarehouse" configurationId="JUnit" />
947
-    </history-entry>
948 986
     <history-entry file="TestPersonWarehouse - 2017.05.31 at 15h 58m 01s.xml">
949 987
       <configuration name="TestPersonWarehouse" configurationId="JUnit" />
950 988
     </history-entry>
@@ -972,6 +1010,9 @@
972 1010
     <history-entry file="TestSuiteFullRegression - 2017.05.31 at 16h 20m 32s.xml">
973 1011
       <configuration name="TestSuiteFullRegression" configurationId="JUnit" />
974 1012
     </history-entry>
1013
+    <history-entry file="TestSuiteFullRegression - 2017.05.31 at 16h 22m 46s.xml">
1014
+      <configuration name="TestSuiteFullRegression" configurationId="JUnit" />
1015
+    </history-entry>
975 1016
   </component>
976 1017
   <component name="TodoView">
977 1018
     <todo-panel id="selected-file">
@@ -987,7 +1028,7 @@
987 1028
     <editor active="true" />
988 1029
     <layout>
989 1030
       <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="3" side_tool="false" content_ui="tabs" />
990
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32778355" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
1031
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32778355" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
991 1032
       <window_info id="Nl-Palette" 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="2" side_tool="false" content_ui="tabs" />
992 1033
       <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32778355" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
993 1034
       <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="3" side_tool="false" content_ui="tabs" />
@@ -998,7 +1039,7 @@
998 1039
       <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="7" side_tool="false" content_ui="tabs" />
999 1040
       <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.31425598" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
1000 1041
       <window_info id="Properties" 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="3" side_tool="false" content_ui="tabs" />
1001
-      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25078043" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
1042
+      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25078043" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
1002 1043
       <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="2" side_tool="false" content_ui="tabs" />
1003 1044
       <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="2" side_tool="false" content_ui="tabs" />
1004 1045
       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.20820022" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
@@ -1165,16 +1206,6 @@
1165 1206
         </state>
1166 1207
       </provider>
1167 1208
     </entry>
1168
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ArrayConverter.java">
1169
-      <provider selected="true" editor-type-id="text-editor">
1170
-        <state relative-caret-position="240">
1171
-          <caret line="23" column="10" lean-forward="false" selection-start-line="23" selection-start-column="10" selection-end-line="23" selection-end-column="10" />
1172
-          <folding>
1173
-            <marker date="1496255178000" expanded="false" signature="968:974" ph=" }" />
1174
-          </folding>
1175
-        </state>
1176
-      </provider>
1177
-    </entry>
1178 1209
     <entry file="file://$PROJECT_DIR$/streamdemo.iml">
1179 1210
       <provider selected="true" editor-type-id="text-editor">
1180 1211
         <state relative-caret-position="0">
@@ -1191,22 +1222,6 @@
1191 1222
         </state>
1192 1223
       </provider>
1193 1224
     </entry>
1194
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamMap.java">
1195
-      <provider selected="true" editor-type-id="text-editor">
1196
-        <state relative-caret-position="180">
1197
-          <caret line="18" column="43" lean-forward="true" selection-start-line="18" selection-start-column="43" selection-end-line="18" selection-end-column="43" />
1198
-          <folding />
1199
-        </state>
1200
-      </provider>
1201
-    </entry>
1202
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamFilter.java">
1203
-      <provider selected="true" editor-type-id="text-editor">
1204
-        <state relative-caret-position="573">
1205
-          <caret line="78" column="20" lean-forward="false" selection-start-line="78" selection-start-column="20" selection-end-line="78" selection-end-column="20" />
1206
-          <folding />
1207
-        </state>
1208
-      </provider>
1209
-    </entry>
1210 1225
     <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/StringUtils.java">
1211 1226
       <provider selected="true" editor-type-id="text-editor">
1212 1227
         <state relative-caret-position="60">
@@ -1239,30 +1254,6 @@
1239 1254
         </state>
1240 1255
       </provider>
1241 1256
     </entry>
1242
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerWarehouse.java">
1243
-      <provider selected="true" editor-type-id="text-editor">
1244
-        <state relative-caret-position="90">
1245
-          <caret line="7" column="69" lean-forward="false" selection-start-line="7" selection-start-column="69" selection-end-line="7" selection-end-column="69" />
1246
-          <folding />
1247
-        </state>
1248
-      </provider>
1249
-    </entry>
1250
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerHandler.java">
1251
-      <provider selected="true" editor-type-id="text-editor">
1252
-        <state relative-caret-position="105">
1253
-          <caret line="13" column="69" lean-forward="false" selection-start-line="13" selection-start-column="69" selection-end-line="13" selection-end-column="69" />
1254
-          <folding />
1255
-        </state>
1256
-      </provider>
1257
-    </entry>
1258
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/StreamConverter.java">
1259
-      <provider selected="true" editor-type-id="text-editor">
1260
-        <state relative-caret-position="165">
1261
-          <caret line="16" column="64" lean-forward="false" selection-start-line="16" selection-start-column="64" selection-end-line="16" selection-end-column="64" />
1262
-          <folding />
1263
-        </state>
1264
-      </provider>
1265
-    </entry>
1266 1257
     <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ConversionAgent.java">
1267 1258
       <provider selected="true" editor-type-id="text-editor">
1268 1259
         <state relative-caret-position="52">
@@ -1279,38 +1270,6 @@
1279 1270
         </state>
1280 1271
       </provider>
1281 1272
     </entry>
1282
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ListConverter.java">
1283
-      <provider selected="true" editor-type-id="text-editor">
1284
-        <state relative-caret-position="360">
1285
-          <caret line="34" column="49" lean-forward="false" selection-start-line="34" selection-start-column="49" selection-end-line="34" selection-end-column="49" />
1286
-          <folding />
1287
-        </state>
1288
-      </provider>
1289
-    </entry>
1290
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java">
1291
-      <provider selected="true" editor-type-id="text-editor">
1292
-        <state relative-caret-position="665">
1293
-          <caret line="74" column="15" lean-forward="true" selection-start-line="74" selection-start-column="15" selection-end-line="74" selection-end-column="15" />
1294
-          <folding />
1295
-        </state>
1296
-      </provider>
1297
-    </entry>
1298
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java">
1299
-      <provider selected="true" editor-type-id="text-editor">
1300
-        <state relative-caret-position="665">
1301
-          <caret line="60" column="84" lean-forward="true" selection-start-line="60" selection-start-column="84" selection-end-line="60" selection-end-column="84" />
1302
-          <folding />
1303
-        </state>
1304
-      </provider>
1305
-    </entry>
1306
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/Person.java">
1307
-      <provider selected="true" editor-type-id="text-editor">
1308
-        <state relative-caret-position="330">
1309
-          <caret line="26" column="31" lean-forward="true" selection-start-line="26" selection-start-column="31" selection-end-line="26" selection-end-column="31" />
1310
-          <folding />
1311
-        </state>
1312
-      </provider>
1313
-    </entry>
1314 1273
     <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/TestSuiteFullRegression.java">
1315 1274
       <provider selected="true" editor-type-id="text-editor">
1316 1275
         <state relative-caret-position="135">
@@ -1417,14 +1376,141 @@
1417 1376
     </entry>
1418 1377
     <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/streams/anthropoid/TestSuiteAnthropoidRegression.java">
1419 1378
       <provider selected="true" editor-type-id="text-editor">
1420
-        <state relative-caret-position="255">
1421
-          <caret line="17" column="69" lean-forward="false" selection-start-line="17" selection-start-column="69" selection-end-line="17" selection-end-column="69" />
1379
+        <state relative-caret-position="315">
1380
+          <caret line="21" column="0" lean-forward="true" selection-start-line="21" selection-start-column="0" selection-end-line="21" selection-end-column="0" />
1422 1381
           <folding>
1423 1382
             <element signature="imports" expanded="true" />
1424 1383
           </folding>
1425 1384
         </state>
1426 1385
       </provider>
1427 1386
     </entry>
1387
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/Person.java">
1388
+      <provider selected="true" editor-type-id="text-editor">
1389
+        <state relative-caret-position="300">
1390
+          <caret line="24" column="30" lean-forward="false" selection-start-line="24" selection-start-column="30" selection-end-line="24" selection-end-column="30" />
1391
+          <folding />
1392
+        </state>
1393
+      </provider>
1394
+    </entry>
1395
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerWarehouse.java">
1396
+      <provider selected="true" editor-type-id="text-editor">
1397
+        <state relative-caret-position="90">
1398
+          <caret line="7" column="69" lean-forward="false" selection-start-line="7" selection-start-column="69" selection-end-line="7" selection-end-column="69" />
1399
+          <folding />
1400
+        </state>
1401
+      </provider>
1402
+    </entry>
1403
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/tools/logging/LoggerHandler.java">
1404
+      <provider selected="true" editor-type-id="text-editor">
1405
+        <state relative-caret-position="105">
1406
+          <caret line="13" column="69" lean-forward="false" selection-start-line="13" selection-start-column="69" selection-end-line="13" selection-end-column="69" />
1407
+          <folding />
1408
+        </state>
1409
+      </provider>
1410
+    </entry>
1411
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ArrayConverter.java">
1412
+      <provider selected="true" editor-type-id="text-editor">
1413
+        <state relative-caret-position="315">
1414
+          <caret line="30" column="20" lean-forward="false" selection-start-line="30" selection-start-column="20" selection-end-line="30" selection-end-column="20" />
1415
+          <folding>
1416
+            <element signature="e#823#824#0" expanded="true" />
1417
+            <element signature="e#850#851#0" expanded="true" />
1418
+          </folding>
1419
+        </state>
1420
+      </provider>
1421
+    </entry>
1422
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/ListConverter.java">
1423
+      <provider selected="true" editor-type-id="text-editor">
1424
+        <state relative-caret-position="360">
1425
+          <caret line="34" column="20" lean-forward="false" selection-start-line="34" selection-start-column="20" selection-end-line="34" selection-end-column="20" />
1426
+          <folding>
1427
+            <element signature="e#888#889#0" expanded="true" />
1428
+            <element signature="e#915#916#0" expanded="true" />
1429
+          </folding>
1430
+        </state>
1431
+      </provider>
1432
+    </entry>
1433
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/conversions/StreamConverter.java">
1434
+      <provider selected="true" editor-type-id="text-editor">
1435
+        <state relative-caret-position="420">
1436
+          <caret line="35" column="7" lean-forward="false" selection-start-line="35" selection-start-column="7" selection-end-line="35" selection-end-column="7" />
1437
+          <folding>
1438
+            <element signature="e#892#893#0" expanded="true" />
1439
+            <element signature="e#919#920#0" expanded="true" />
1440
+          </folding>
1441
+        </state>
1442
+      </provider>
1443
+    </entry>
1444
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamFilter.java">
1445
+      <provider selected="true" editor-type-id="text-editor">
1446
+        <state relative-caret-position="417">
1447
+          <caret line="82" column="10" lean-forward="false" selection-start-line="82" selection-start-column="10" selection-end-line="82" selection-end-column="10" />
1448
+          <folding>
1449
+            <element signature="e#1177#1178#0" expanded="true" />
1450
+            <element signature="e#1219#1220#0" expanded="true" />
1451
+            <element signature="e#1769#1770#0" expanded="true" />
1452
+            <element signature="e#1796#1797#0" expanded="true" />
1453
+            <element signature="e#1987#1988#0" expanded="true" />
1454
+            <element signature="e#2014#2015#0" expanded="true" />
1455
+            <element signature="e#2203#2204#0" expanded="true" />
1456
+            <element signature="e#2230#2231#0" expanded="true" />
1457
+            <element signature="e#2423#2424#0" expanded="true" />
1458
+            <element signature="e#2450#2451#0" expanded="true" />
1459
+          </folding>
1460
+        </state>
1461
+      </provider>
1462
+    </entry>
1463
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/StreamMap.java">
1464
+      <provider selected="true" editor-type-id="text-editor">
1465
+        <state relative-caret-position="480">
1466
+          <caret line="38" column="1" lean-forward="true" selection-start-line="38" selection-start-column="1" selection-end-line="38" selection-end-column="1" />
1467
+          <folding>
1468
+            <element signature="e#550#551#0" expanded="true" />
1469
+            <element signature="e#577#578#0" expanded="true" />
1470
+            <element signature="e#802#803#0" expanded="true" />
1471
+            <element signature="e#829#830#0" expanded="true" />
1472
+            <element signature="e#1054#1055#0" expanded="true" />
1473
+            <element signature="e#1081#1082#0" expanded="true" />
1474
+          </folding>
1475
+        </state>
1476
+      </provider>
1477
+    </entry>
1478
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java">
1479
+      <provider selected="true" editor-type-id="text-editor">
1480
+        <state relative-caret-position="432">
1481
+          <caret line="58" column="11" lean-forward="false" selection-start-line="58" selection-start-column="11" selection-end-line="58" selection-end-column="11" />
1482
+          <folding>
1483
+            <element signature="e#1453#1454#0" expanded="true" />
1484
+            <element signature="e#1480#1481#0" expanded="true" />
1485
+            <element signature="e#1674#1675#0" expanded="true" />
1486
+            <element signature="e#1701#1702#0" expanded="true" />
1487
+            <element signature="e#1951#1952#0" expanded="true" />
1488
+            <element signature="e#1978#1979#0" expanded="true" />
1489
+          </folding>
1490
+        </state>
1491
+      </provider>
1492
+    </entry>
1493
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java">
1494
+      <provider selected="true" editor-type-id="text-editor">
1495
+        <state relative-caret-position="465">
1496
+          <caret line="39" column="0" lean-forward="true" selection-start-line="39" selection-start-column="0" selection-end-line="39" selection-end-column="0" />
1497
+          <folding>
1498
+            <element signature="e#1420#1421#0" expanded="true" />
1499
+            <element signature="e#1447#1448#0" expanded="true" />
1500
+            <element signature="e#1668#1669#0" expanded="true" />
1501
+            <element signature="e#1695#1696#0" expanded="true" />
1502
+            <element signature="e#2044#2045#0" expanded="true" />
1503
+            <element signature="e#2071#2072#0" expanded="true" />
1504
+            <element signature="e#2202#2203#0" expanded="true" />
1505
+            <element signature="e#2229#2230#0" expanded="true" />
1506
+            <element signature="e#2343#2344#0" expanded="true" />
1507
+            <element signature="e#2370#2371#0" expanded="true" />
1508
+            <element signature="e#2486#2487#0" expanded="true" />
1509
+            <element signature="e#2513#2514#0" expanded="true" />
1510
+          </folding>
1511
+        </state>
1512
+      </provider>
1513
+    </entry>
1428 1514
   </component>
1429 1515
   <component name="masterDetails">
1430 1516
     <states>

+ 7
- 15
src/main/java/com/zipcodewilmington/streams/StreamFilter.java Bestand weergeven

@@ -20,7 +20,7 @@ public class StreamFilter {
20 20
      * No arg constructor
21 21
      */ //TODO - construct person stream of 100 person objects; startingCharacter is a random capital letter
22 22
     public StreamFilter() {
23
-        this(PersonFactory.createPersonStream(999), RandomUtils.createCharacter('A', 'Z'));
23
+        this(Stream.empty(), null);
24 24
     }
25 25
 
26 26
     /**
@@ -28,7 +28,7 @@ public class StreamFilter {
28 28
      * @param startingCharacter - character to filter by
29 29
      */ //TODO
30 30
     public StreamFilter(Person[] people, Character startingCharacter) {
31
-        this(Stream.of(people), startingCharacter);
31
+        this(Stream.empty(), null);
32 32
     }
33 33
 
34 34
     /**
@@ -36,7 +36,7 @@ public class StreamFilter {
36 36
      * @param startingCharacter - character to filter by
37 37
      */ //TODO
38 38
     public StreamFilter(List<Person> people, Character startingCharacter) {
39
-        this(people.parallelStream(), startingCharacter);
39
+        this(Stream.empty(), null);
40 40
     }
41 41
 
42 42
 
@@ -55,9 +55,7 @@ public class StreamFilter {
55 55
      * @return a list of person object whose name starts with `this.startingCharacter`
56 56
      */ //TODO
57 57
     public List<Person> toListMultiLine() {
58
-        Stream<Person> personStreamFiltered = personStream.filter(person -> StringUtils.isPalindromeIgnoreCase(person.getName()));
59
-        List list = personStreamFiltered.collect(Collectors.toList());
60
-        return list;
58
+        return null;
61 59
     }
62 60
 
63 61
 
@@ -66,9 +64,7 @@ public class StreamFilter {
66 64
      * @return a list of person objects whose name starts with `this.startingCharacter`
67 65
      */ //TODO
68 66
     public List<Person> toListOneLine() {
69
-        return personStream
70
-                .filter(person -> StringUtils.isPalindromeIgnoreCase(person.getName()))
71
-                .collect(Collectors.toList());
67
+        return null;
72 68
     }
73 69
 
74 70
 
@@ -77,9 +73,7 @@ public class StreamFilter {
77 73
      * @return an array of person object whose name starts with `this.startingCharacter`
78 74
      */ //TODO
79 75
     public Person[] toArrayOneLine() {
80
-        return personStream
81
-                .filter(person -> StringUtils.isPalindromeIgnoreCase(person.getName()))
82
-                .toArray(Person[]::new); // method reference
76
+        return null;
83 77
     }
84 78
 
85 79
 
@@ -88,9 +82,7 @@ public class StreamFilter {
88 82
      * @return an array of person object whose name starts with `this.startingCharacter`
89 83
      */ //TODO
90 84
     public Person[] toArrayMultiLine() {
91
-        Stream<Person> personStreamFiltered = personStream.filter(person -> StringUtils.isPalindromeIgnoreCase(person.getName()));
92
-        Person[] personArray = personStreamFiltered.toArray(Person[]::new); // method reference
93
-        return personArray;
85
+        return null;
94 86
     }
95 87
 
96 88
 }

+ 4
- 5
src/main/java/com/zipcodewilmington/streams/StreamMap.java Bestand weergeven

@@ -13,11 +13,12 @@ import java.util.stream.Stream;
13 13
  */
14 14
 public class StreamMap {
15 15
     /**
16
+     * Section 8.3
16 17
      * @param someWord - word to convert to Stream<String>
17 18
      * @return - a Stream of single characters
18 19
      */ //TODO
19 20
     public static Stream<String> letters(String someWord) {
20
-        return Stream.of(someWord.split(""));
21
+        return null;
21 22
     }
22 23
 
23 24
     /**
@@ -25,7 +26,7 @@ public class StreamMap {
25 26
      * @return - a Stream of several Streams of single characters
26 27
      */ //TODO
27 28
     public static Stream<Stream<String>> wordsMap(String... someWords) {
28
-        return Stream.of(someWords).map(w -> letters(w));
29
+        return null;
29 30
     }
30 31
 
31 32
     /**
@@ -33,8 +34,6 @@ public class StreamMap {
33 34
      * @return - a Stream of several Streams of single characters
34 35
      */ //TODO
35 36
     public static Stream<String> wordsFlatMap(String... stringArray) {
36
-        Stream<String> wordStream = Stream.of(stringArray);
37
-        List<String> wordList = wordStream.collect(Collectors.toList());
38
-        return wordList.stream().flatMap(w -> letters(w));
37
+        return null;
39 38
     }
40 39
 }

+ 3
- 3
src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java Bestand weergeven

@@ -39,7 +39,7 @@ public final class PersonFactory {
39 39
      * @return - ArrayList of Person objects
40 40
      */ // TODO
41 41
     public static List<Person> createPersonList(int listSize) {
42
-        return createPersonStream(listSize).collect(Collectors.toList());
42
+        return null;
43 43
     }
44 44
 
45 45
 
@@ -48,7 +48,7 @@ public final class PersonFactory {
48 48
      * @return - Array of Person objects
49 49
      */ // TODO
50 50
     public static Person[] createPersonArray(int arrayLength) {
51
-        return createPersonStream(arrayLength).toArray(Person[]::new);
51
+        return null;
52 52
     }
53 53
 
54 54
 
@@ -58,6 +58,6 @@ public final class PersonFactory {
58 58
      * @return - Stream representation of collection of Person objects
59 59
      */ // TODO
60 60
     public static Stream<Person> createPersonStream(int streamCount) {
61
-        return Stream.generate(PersonFactory::createRandomPerson).limit(streamCount);
61
+        return null;
62 62
     }
63 63
 }

+ 7
- 10
src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java Bestand weergeven

@@ -35,8 +35,7 @@ public final class PersonWarehouse {
35 35
      * @return list of uniquely named Person objects
36 36
      */ //TODO
37 37
     public static Stream<Person> getUniquelyNamedPeople() {
38
-        List<String> names = people.parallelStream().map(p -> p.getName()).distinct().collect(Collectors.toList());
39
-        return people.parallelStream().filter(person -> !names.contains(person.getName()));
38
+        return null;
40 39
     }
41 40
 
42 41
 
@@ -45,8 +44,7 @@ public final class PersonWarehouse {
45 44
      * @return a Stream of respective
46 45
      */ //TODO
47 46
     public static Stream<Person> getUniquelyNamedPeopleStartingWith(Character character) {
48
-        return getUniquelyNamedPeople().filter(
49
-                person -> person.getName().startsWith(character.toString()));
47
+        return null;
50 48
     }
51 49
 
52 50
     /**
@@ -54,15 +52,14 @@ public final class PersonWarehouse {
54 52
      * @return a Stream of respective
55 53
      */ //TODO
56 54
     public static Stream<Person> getFirstNUniquelyNamedPeople(int n) {
57
-        return getUniquelyNamedPeople().limit(n);
55
+        return null;
58 56
     }
59 57
 
60 58
     /**
61 59
      * @return a mapping of Person Id to the respective Person name
62 60
      */ // TODO
63 61
     public static Map<Long, String> getIdToNameMap() {
64
-        return people.parallelStream().collect(
65
-                Collectors.toMap(p -> p.getPersonalId(), p -> p.getName()));
62
+        return null;
66 63
     }
67 64
 
68 65
 
@@ -70,7 +67,7 @@ public final class PersonWarehouse {
70 67
      * @return Stream of Stream of Aliases
71 68
      */ // TODO
72 69
     public static Stream<Stream<String>> getNestedAliases() {
73
-        return people.parallelStream().map(person -> Stream.of(person.getAliases()));
70
+        return null;
74 71
     }
75 72
 
76 73
 
@@ -78,14 +75,14 @@ public final class PersonWarehouse {
78 75
      * @return Stream of all Aliases
79 76
      */ // TODO
80 77
     public static Stream<String> getAllAliases() {
81
-        return people.parallelStream().flatMap(person -> Stream.of(person.getAliases()));
78
+        return null;
82 79
     }
83 80
 
84 81
     /**
85 82
      * @return list of names of Person objects
86 83
      */ // TODO
87 84
     public static List<String> getNames() {
88
-        return people.parallelStream().map(p -> p.getName()).collect(Collectors.toList());
85
+        return null;
89 86
     }
90 87
 
91 88
     /**

+ 2
- 2
src/main/java/com/zipcodewilmington/streams/conversions/ArrayConverter.java Bestand weergeven

@@ -23,12 +23,12 @@ public final class ArrayConverter extends PersonConversionAgent<Person[]> {
23 23
 
24 24
     //TODO
25 25
     public List<Person> toList() {
26
-        return Arrays.asList(toArray());
26
+        return null;
27 27
     }
28 28
 
29 29
     //TODO
30 30
     public Stream<Person> toStream() {
31
-        return toList().stream();
31
+        return null;
32 32
     }
33 33
 
34 34
     @Override

+ 2
- 4
src/main/java/com/zipcodewilmington/streams/conversions/ListConverter.java Bestand weergeven

@@ -27,13 +27,11 @@ public final class ListConverter extends PersonConversionAgent<List<Person>> {
27 27
 
28 28
     //TODO
29 29
     public Stream<Person> toStream() {
30
-        return toList().stream();
30
+        return null;
31 31
     }
32 32
 
33 33
     //TODO
34 34
     public Person[] toArray() {
35
-        Long collectionSize = toStream().count();
36
-        Person[] personArray = new Person[collectionSize.intValue()];
37
-        return toList().toArray(personArray);
35
+        return null;
38 36
     }
39 37
 }

+ 3
- 3
src/main/java/com/zipcodewilmington/streams/conversions/StreamConverter.java Bestand weergeven

@@ -25,16 +25,16 @@ public final class StreamConverter extends PersonConversionAgent<Stream<Person>>
25 25
 
26 26
     // TODO
27 27
     public List<Person> toList() {
28
-        return this.personList;
28
+        return null;
29 29
     }
30 30
 
31 31
     // TODO
32 32
     public Stream<Person> toStream() {
33
-        return this.personList.parallelStream();
33
+        return null;
34 34
     }
35 35
 
36 36
     // TODO
37 37
     public Person[] toArray() {
38
-        return toStream().toArray(Person[]::new);
38
+        return null;
39 39
     }
40 40
 }