Leon преди 7 години
родител
ревизия
6ca478a08c
променени са 28 файла, в които са добавени 119 реда и са изтрити 131 реда
  1. 67
    72
      .idea/workspace.xml
  2. 3
    3
      src/main/java/com/zipcodewilmington/streams/StreamFilter.java
  3. 1
    5
      src/main/java/com/zipcodewilmington/streams/StreamMap.java
  4. 1
    1
      src/main/java/com/zipcodewilmington/streams/anthropoid/Person.java
  5. 3
    3
      src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java
  6. 3
    3
      src/main/java/com/zipcodewilmington/streams/exercises/ArrayConverter.java
  7. 2
    2
      src/main/java/com/zipcodewilmington/streams/exercises/ConversionAgent.java
  8. 3
    3
      src/main/java/com/zipcodewilmington/streams/exercises/ListConverter.java
  9. 4
    6
      src/main/java/com/zipcodewilmington/streams/exercises/StreamConverter.java
  10. 1
    1
      src/main/java/com/zipcodewilmington/streams/tools/RandomUtils.java
  11. 1
    1
      src/main/java/com/zipcodewilmington/streams/tools/ReflectionUtils.java
  12. 1
    5
      src/main/java/com/zipcodewilmington/streams/tools/StringUtils.java
  13. 0
    8
      src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java
  14. 8
    0
      src/test/java/com/zipcodewilmington/streams/TestConstants.java
  15. 5
    5
      src/test/java/com/zipcodewilmington/streams/TestPersonFactory.java
  16. 2
    2
      src/test/java/com/zipcodewilmington/streams/TestStreamFilter.java
  17. 1
    1
      src/test/java/com/zipcodewilmington/streams/TestStreamMap.java
  18. 1
    1
      src/test/java/com/zipcodewilmington/streams/TestSuiteFullRegression.java
  19. 2
    2
      src/test/java/com/zipcodewilmington/streams/exercises/TestConversionAgent.java
  20. 3
    1
      src/test/java/com/zipcodewilmington/streams/exercises/TestConverterArray.java
  21. 3
    1
      src/test/java/com/zipcodewilmington/streams/exercises/TestConverterList.java
  22. 3
    1
      src/test/java/com/zipcodewilmington/streams/exercises/TestConverterStream.java
  23. 1
    4
      src/test/java/com/zipcodewilmington/streams/exercises/TestSuiteConversionRegression.java
  24. BIN
      target/classes/com/zipcodewilmington/lambdas/exercises/StreamConverter.class
  25. BIN
      target/test-classes/com/zipcodewilmington/lambdas/exercises/TestConstants.class
  26. BIN
      target/test-classes/com/zipcodewilmington/lambdas/exercises/TestConverterArray.class
  27. BIN
      target/test-classes/com/zipcodewilmington/lambdas/exercises/TestConverterList.class
  28. BIN
      target/test-classes/com/zipcodewilmington/lambdas/exercises/TestConverterStream.class

+ 67
- 72
.idea/workspace.xml Целия файл

@@ -2,29 +2,8 @@
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="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ListConverter.java" />
6
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/StreamConverter.java" />
7
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java" />
8
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConversionAgent.java" />
9
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConverterArray.java" />
10
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConverterList.java" />
11
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConverterStream.java" />
12
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestSuiteConversionRegression.java" />
13
-      <change type="DELETED" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ListConversion.java" afterPath="" />
14
-      <change type="DELETED" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/StreamConversion.java" afterPath="" />
15
-      <change type="DELETED" beforePath="$PROJECT_DIR$/target/classes/com/zipcodewilmington/lambdas/LambdaFilter.class" afterPath="" />
16
-      <change type="DELETED" beforePath="$PROJECT_DIR$/target/classes/com/zipcodewilmington/lambdas/MapSyntax.class" afterPath="" />
17
-      <change type="DELETED" beforePath="$PROJECT_DIR$/target/test-classes/com/zipcodewilmington/lambdas/TestLambdaFilter.class" afterPath="" />
18
-      <change type="DELETED" beforePath="$PROJECT_DIR$/target/test-classes/com/zipcodewilmington/lambdas/TestMapSyntax.class" afterPath="" />
19
-      <change type="MOVED" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ArrayConversion.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ArrayConverter.java" />
20
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/target/classes/com/zipcodewilmington/lambdas/anthropoid/PersonFactory.class" afterPath="$PROJECT_DIR$/target/classes/com/zipcodewilmington/lambdas/anthropoid/PersonFactory.class" />
21
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/target/classes/com/zipcodewilmington/lambdas/tools/StringUtils.class" afterPath="$PROJECT_DIR$/target/classes/com/zipcodewilmington/lambdas/tools/StringUtils.class" />
22
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/target/test-classes/com/zipcodewilmington/lambdas/TestSuiteFullRegression.class" afterPath="$PROJECT_DIR$/target/test-classes/com/zipcodewilmington/lambdas/TestSuiteFullRegression.class" />
23
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
24
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/anthropoid/PersonFactory.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/anthropoid/PersonFactory.java" />
25
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ConversionAgent.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ConversionAgent.java" />
26
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/tools/StringUtils.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/tools/StringUtils.java" />
27
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/TestStreamFilter.java" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/TestStreamFilter.java" />
5
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/StreamConverter.java" afterPath="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/StreamConverter.java" />
6
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java" afterPath="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java" />
28 7
     </list>
29 8
     <ignored path="$PROJECT_DIR$/out/" />
30 9
     <ignored path="$PROJECT_DIR$/target/" />
@@ -72,11 +51,11 @@
72 51
           </provider>
73 52
         </entry>
74 53
       </file>
75
-      <file leaf-file-name="TestConstants.java" pinned="false" current-in-tab="false">
54
+      <file leaf-file-name="TestConstants.java" pinned="false" current-in-tab="true">
76 55
         <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java">
77 56
           <provider selected="true" editor-type-id="text-editor">
78 57
             <state relative-caret-position="90">
79
-              <caret line="6" column="28" lean-forward="false" selection-start-line="6" selection-start-column="28" selection-end-line="6" selection-end-column="28" />
58
+              <caret line="6" column="30" lean-forward="false" selection-start-line="6" selection-start-column="30" selection-end-line="6" selection-end-column="30" />
80 59
               <folding />
81 60
             </state>
82 61
           </provider>
@@ -102,17 +81,31 @@
102 81
           </provider>
103 82
         </entry>
104 83
       </file>
105
-      <file leaf-file-name="StreamConverter.java" pinned="false" current-in-tab="true">
84
+      <file leaf-file-name="StreamConverter.java" pinned="false" current-in-tab="false">
106 85
         <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/StreamConverter.java">
107 86
           <provider selected="true" editor-type-id="text-editor">
108
-            <state relative-caret-position="253">
109
-              <caret line="29" column="31" lean-forward="true" selection-start-line="29" selection-start-column="31" selection-end-line="29" selection-end-column="31" />
87
+            <state relative-caret-position="362">
88
+              <caret line="33" column="5" lean-forward="true" selection-start-line="33" selection-start-column="5" selection-end-line="33" selection-end-column="5" />
89
+              <folding>
90
+                <element signature="imports" expanded="true" />
91
+                <element signature="e#876#877#0" expanded="true" />
92
+                <element signature="e#914#915#0" expanded="true" />
93
+                <element signature="e#966#967#0" expanded="true" />
94
+                <element signature="e#1013#1014#0" expanded="true" />
95
+                <element signature="e#1058#1059#0" expanded="true" />
96
+                <element signature="e#1114#1115#0" expanded="true" />
97
+              </folding>
98
+            </state>
99
+          </provider>
100
+        </entry>
101
+      </file>
102
+      <file leaf-file-name="ListConverter.java" pinned="false" current-in-tab="false">
103
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ListConverter.java">
104
+          <provider selected="true" editor-type-id="text-editor">
105
+            <state relative-caret-position="255">
106
+              <caret line="19" column="49" lean-forward="false" selection-start-line="19" selection-start-column="49" selection-end-line="19" selection-end-column="49" />
110 107
               <folding>
111 108
                 <element signature="imports" expanded="true" />
112
-                <element signature="e#899#900#0" expanded="true" />
113
-                <element signature="e#937#938#0" expanded="true" />
114
-                <element signature="e#1081#1082#0" expanded="true" />
115
-                <element signature="e#1137#1138#0" expanded="true" />
116 109
               </folding>
117 110
             </state>
118 111
           </provider>
@@ -201,10 +194,10 @@
201 194
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestSuiteConversionRegression.java" />
202 195
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ListConverter.java" />
203 196
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ArrayConverter.java" />
204
-        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java" />
205 197
         <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConversionAgent.java" />
206 198
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ConversionAgent.java" />
207 199
         <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/StreamConverter.java" />
200
+        <option value="$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java" />
208 201
       </list>
209 202
     </option>
210 203
   </component>
@@ -838,34 +831,34 @@
838 831
     <servers />
839 832
   </component>
840 833
   <component name="TestHistory">
841
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 11m 28s.xml">
834
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 24m 15s.xml">
842 835
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
843 836
     </history-entry>
844
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 11m 35s.xml">
837
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 28m 10s.xml">
845 838
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
846 839
     </history-entry>
847
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 13m 13s.xml">
840
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 28m 27s.xml">
848 841
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
849 842
     </history-entry>
850
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 13m 53s.xml">
843
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 28m 39s.xml">
851 844
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
852 845
     </history-entry>
853
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 18m 38s.xml">
846
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 29m 20s.xml">
854 847
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
855 848
     </history-entry>
856
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 19m 30s.xml">
849
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 29m 45s.xml">
857 850
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
858 851
     </history-entry>
859
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 20m 18s.xml">
852
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 32m 52s.xml">
860 853
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
861 854
     </history-entry>
862
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 21m 16s.xml">
855
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 34m 28s.xml">
863 856
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
864 857
     </history-entry>
865
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 22m 41s.xml">
858
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 41m 35s.xml">
866 859
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
867 860
     </history-entry>
868
-    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 23m 56s.xml">
861
+    <history-entry file="TestSuiteConversionRegression - 2017.05.25 at 16h 42m 16s.xml">
869 862
       <configuration name="TestSuiteConversionRegression" configurationId="JUnit" />
870 863
     </history-entry>
871 864
   </component>
@@ -882,10 +875,10 @@
882 875
       <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="3" side_tool="false" content_ui="tabs" />
883 876
       <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="7" side_tool="true" content_ui="tabs" />
884 877
       <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="3" side_tool="false" content_ui="tabs" />
885
-      <window_info id="Run" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.40518135" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
878
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.40518135" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
886 879
       <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" />
887 880
       <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" />
888
-      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3298647" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
881
+      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32953367" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
889 882
       <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" />
890 883
       <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" />
891 884
       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.23801917" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
@@ -1165,16 +1158,6 @@
1165 1158
         </state>
1166 1159
       </provider>
1167 1160
     </entry>
1168
-    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ListConverter.java">
1169
-      <provider selected="true" editor-type-id="text-editor">
1170
-        <state relative-caret-position="240">
1171
-          <caret line="19" column="49" lean-forward="false" selection-start-line="19" selection-start-column="49" selection-end-line="19" selection-end-column="49" />
1172
-          <folding>
1173
-            <element signature="imports" expanded="true" />
1174
-          </folding>
1175
-        </state>
1176
-      </provider>
1177
-    </entry>
1178 1161
     <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/StreamMap.java">
1179 1162
       <provider selected="true" editor-type-id="text-editor">
1180 1163
         <state relative-caret-position="330">
@@ -1255,14 +1238,6 @@
1255 1238
         </state>
1256 1239
       </provider>
1257 1240
     </entry>
1258
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java">
1259
-      <provider selected="true" editor-type-id="text-editor">
1260
-        <state relative-caret-position="90">
1261
-          <caret line="6" column="28" lean-forward="false" selection-start-line="6" selection-start-column="28" selection-end-line="6" selection-end-column="28" />
1262
-          <folding />
1263
-        </state>
1264
-      </provider>
1265
-    </entry>
1266 1241
     <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ConversionAgent.java">
1267 1242
       <provider selected="true" editor-type-id="text-editor">
1268 1243
         <state relative-caret-position="210">
@@ -1273,10 +1248,10 @@
1273 1248
         </state>
1274 1249
       </provider>
1275 1250
     </entry>
1276
-    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConversionAgent.java">
1251
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/ListConverter.java">
1277 1252
       <provider selected="true" editor-type-id="text-editor">
1278
-        <state relative-caret-position="300">
1279
-          <caret line="66" column="16" lean-forward="false" selection-start-line="66" selection-start-column="16" selection-end-line="66" selection-end-column="16" />
1253
+        <state relative-caret-position="255">
1254
+          <caret line="19" column="49" lean-forward="false" selection-start-line="19" selection-start-column="49" selection-end-line="19" selection-end-column="49" />
1280 1255
           <folding>
1281 1256
             <element signature="imports" expanded="true" />
1282 1257
           </folding>
@@ -1285,18 +1260,38 @@
1285 1260
     </entry>
1286 1261
     <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/lambdas/exercises/StreamConverter.java">
1287 1262
       <provider selected="true" editor-type-id="text-editor">
1288
-        <state relative-caret-position="253">
1289
-          <caret line="29" column="31" lean-forward="true" selection-start-line="29" selection-start-column="31" selection-end-line="29" selection-end-column="31" />
1263
+        <state relative-caret-position="362">
1264
+          <caret line="33" column="5" lean-forward="true" selection-start-line="33" selection-start-column="5" selection-end-line="33" selection-end-column="5" />
1265
+          <folding>
1266
+            <element signature="imports" expanded="true" />
1267
+            <element signature="e#876#877#0" expanded="true" />
1268
+            <element signature="e#914#915#0" expanded="true" />
1269
+            <element signature="e#966#967#0" expanded="true" />
1270
+            <element signature="e#1013#1014#0" expanded="true" />
1271
+            <element signature="e#1058#1059#0" expanded="true" />
1272
+            <element signature="e#1114#1115#0" expanded="true" />
1273
+          </folding>
1274
+        </state>
1275
+      </provider>
1276
+    </entry>
1277
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConversionAgent.java">
1278
+      <provider selected="true" editor-type-id="text-editor">
1279
+        <state relative-caret-position="300">
1280
+          <caret line="66" column="16" lean-forward="false" selection-start-line="66" selection-start-column="16" selection-end-line="66" selection-end-column="16" />
1290 1281
           <folding>
1291 1282
             <element signature="imports" expanded="true" />
1292
-            <element signature="e#899#900#0" expanded="true" />
1293
-            <element signature="e#937#938#0" expanded="true" />
1294
-            <element signature="e#1081#1082#0" expanded="true" />
1295
-            <element signature="e#1137#1138#0" expanded="true" />
1296 1283
           </folding>
1297 1284
         </state>
1298 1285
       </provider>
1299 1286
     </entry>
1287
+    <entry file="file://$PROJECT_DIR$/src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java">
1288
+      <provider selected="true" editor-type-id="text-editor">
1289
+        <state relative-caret-position="90">
1290
+          <caret line="6" column="30" lean-forward="false" selection-start-line="6" selection-start-column="30" selection-end-line="6" selection-end-column="30" />
1291
+          <folding />
1292
+        </state>
1293
+      </provider>
1294
+    </entry>
1300 1295
   </component>
1301 1296
   <component name="masterDetails">
1302 1297
     <states>

src/main/java/com/zipcodewilmington/lambdas/StreamFilter.java → src/main/java/com/zipcodewilmington/streams/StreamFilter.java Целия файл

@@ -1,7 +1,7 @@
1
-package com.zipcodewilmington.lambdas;
1
+package com.zipcodewilmington.streams;
2 2
 
3
-import com.zipcodewilmington.lambdas.anthropoid.Person;
4
-import com.zipcodewilmington.lambdas.anthropoid.PersonFactory;
3
+import com.zipcodewilmington.streams.anthropoid.Person;
4
+import com.zipcodewilmington.streams.anthropoid.PersonFactory;
5 5
 
6 6
 import java.util.List;
7 7
 import java.util.stream.Collectors;

src/main/java/com/zipcodewilmington/lambdas/StreamMap.java → src/main/java/com/zipcodewilmington/streams/StreamMap.java Целия файл

@@ -1,9 +1,5 @@
1
-package com.zipcodewilmington.lambdas;
1
+package com.zipcodewilmington.streams;
2 2
 
3
-import java.util.ArrayList;
4
-import java.util.Arrays;
5
-import java.util.List;
6
-import java.util.stream.Collectors;
7 3
 import java.util.stream.Stream;
8 4
 
9 5
 /**

src/main/java/com/zipcodewilmington/lambdas/anthropoid/Person.java → src/main/java/com/zipcodewilmington/streams/anthropoid/Person.java Целия файл

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.lambdas.anthropoid;
1
+package com.zipcodewilmington.streams.anthropoid;
2 2
 
3 3
 import java.util.Date;
4 4
 

src/main/java/com/zipcodewilmington/lambdas/anthropoid/PersonFactory.java → src/main/java/com/zipcodewilmington/streams/anthropoid/PersonFactory.java Целия файл

@@ -1,7 +1,7 @@
1
-package com.zipcodewilmington.lambdas.anthropoid;
1
+package com.zipcodewilmington.streams.anthropoid;
2 2
 
3
-import com.zipcodewilmington.lambdas.tools.RandomUtils;
4
-import com.zipcodewilmington.lambdas.tools.StringUtils;
3
+import com.zipcodewilmington.streams.tools.RandomUtils;
4
+import com.zipcodewilmington.streams.tools.StringUtils;
5 5
 
6 6
 import java.util.Date;
7 7
 import java.util.List;

src/main/java/com/zipcodewilmington/lambdas/exercises/ArrayConverter.java → src/main/java/com/zipcodewilmington/streams/exercises/ArrayConverter.java Целия файл

@@ -1,7 +1,7 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2 2
 
3
-import com.zipcodewilmington.lambdas.anthropoid.Person;
4
-import com.zipcodewilmington.lambdas.anthropoid.PersonFactory;
3
+import com.zipcodewilmington.streams.anthropoid.Person;
4
+import com.zipcodewilmington.streams.anthropoid.PersonFactory;
5 5
 
6 6
 import java.util.Arrays;
7 7
 import java.util.List;

src/main/java/com/zipcodewilmington/lambdas/exercises/ConversionAgent.java → src/main/java/com/zipcodewilmington/streams/exercises/ConversionAgent.java Целия файл

@@ -1,6 +1,6 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2 2
 
3
-import com.zipcodewilmington.lambdas.anthropoid.Person;
3
+import com.zipcodewilmington.streams.anthropoid.Person;
4 4
 
5 5
 import java.util.List;
6 6
 import java.util.function.Function;

src/main/java/com/zipcodewilmington/lambdas/exercises/ListConverter.java → src/main/java/com/zipcodewilmington/streams/exercises/ListConverter.java Целия файл

@@ -1,7 +1,7 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2 2
 
3
-import com.zipcodewilmington.lambdas.anthropoid.Person;
4
-import com.zipcodewilmington.lambdas.anthropoid.PersonFactory;
3
+import com.zipcodewilmington.streams.anthropoid.Person;
4
+import com.zipcodewilmington.streams.anthropoid.PersonFactory;
5 5
 
6 6
 import java.util.List;
7 7
 import java.util.stream.Stream;

src/main/java/com/zipcodewilmington/lambdas/exercises/StreamConverter.java → src/main/java/com/zipcodewilmington/streams/exercises/StreamConverter.java Целия файл

@@ -1,19 +1,17 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2 2
 
3
-import com.zipcodewilmington.lambdas.anthropoid.Person;
4
-import com.zipcodewilmington.lambdas.anthropoid.PersonFactory;
3
+import com.zipcodewilmington.streams.anthropoid.Person;
4
+import com.zipcodewilmington.streams.anthropoid.PersonFactory;
5 5
 
6 6
 import java.util.List;
7 7
 import java.util.stream.Collectors;
8 8
 import java.util.stream.Stream;
9 9
 
10
-import static java.lang.System.out;
11
-
12 10
 /**
13 11
  * Created by leon on 5/25/17.
14 12
  */
15 13
 public final class StreamConverter extends ConversionAgent<Stream<Person>> {
16
-    List<Person> personList;
14
+    private final List<Person> personList;
17 15
     public StreamConverter(Stream<Person> people) {
18 16
         super(people);
19 17
         this.personList = super.people.collect(Collectors.toList());

src/main/java/com/zipcodewilmington/lambdas/tools/RandomUtils.java → src/main/java/com/zipcodewilmington/streams/tools/RandomUtils.java Целия файл

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.lambdas.tools;
1
+package com.zipcodewilmington.streams.tools;
2 2
 
3 3
 import java.awt.*;
4 4
 import java.util.*;

src/main/java/com/zipcodewilmington/lambdas/tools/ReflectionUtils.java → src/main/java/com/zipcodewilmington/streams/tools/ReflectionUtils.java Целия файл

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.lambdas.tools;
1
+package com.zipcodewilmington.streams.tools;
2 2
 
3 3
 import java.lang.reflect.Field;
4 4
 import java.util.HashMap;

src/main/java/com/zipcodewilmington/lambdas/tools/StringUtils.java → src/main/java/com/zipcodewilmington/streams/tools/StringUtils.java Целия файл

@@ -1,8 +1,4 @@
1
-package com.zipcodewilmington.lambdas.tools;
2
-
3
-import java.util.ArrayList;
4
-import java.util.List;
5
-import java.util.stream.Stream;
1
+package com.zipcodewilmington.streams.tools;
6 2
 
7 3
 /**
8 4
  * Created by leon on 5/24/17.

+ 0
- 8
src/test/java/com/zipcodewilmington/lambdas/exercises/TestConstants.java Целия файл

@@ -1,8 +0,0 @@
1
-package com.zipcodewilmington.lambdas.exercises;
2
-
3
-/**
4
- * Created by leon on 5/25/17.
5
- */
6
-public interface TestConstants {
7
-    int collectionSize = 999;
8
-}

+ 8
- 0
src/test/java/com/zipcodewilmington/streams/TestConstants.java Целия файл

@@ -0,0 +1,8 @@
1
+package com.zipcodewilmington.streams;
2
+
3
+/**
4
+ * Created by leon on 5/25/17.
5
+ */
6
+public interface TestConstants {
7
+    int collectionSize = 99999;
8
+}

src/test/java/com/zipcodewilmington/lambdas/TestPersonFactory.java → src/test/java/com/zipcodewilmington/streams/TestPersonFactory.java Целия файл

@@ -1,8 +1,8 @@
1
-package com.zipcodewilmington.lambdas;
1
+package com.zipcodewilmington.streams;
2 2
 
3
-import com.zipcodewilmington.lambdas.tools.ReflectionUtils;
4
-import com.zipcodewilmington.lambdas.anthropoid.Person;
5
-import com.zipcodewilmington.lambdas.anthropoid.PersonFactory;
3
+import com.zipcodewilmington.streams.tools.ReflectionUtils;
4
+import com.zipcodewilmington.streams.anthropoid.Person;
5
+import com.zipcodewilmington.streams.anthropoid.PersonFactory;
6 6
 import org.junit.Assert;
7 7
 import org.junit.Test;
8 8
 
@@ -14,7 +14,7 @@ import java.util.stream.Stream;
14 14
 /**
15 15
  * Created by leon on 5/24/17.
16 16
  */
17
-public class TestPersonFactory {
17
+public class TestPersonFactory implements TestConstants{
18 18
     int collectionSize = 1000;
19 19
 
20 20
     @Test

src/test/java/com/zipcodewilmington/lambdas/TestStreamFilter.java → src/test/java/com/zipcodewilmington/streams/TestStreamFilter.java Целия файл

@@ -1,6 +1,6 @@
1
-package com.zipcodewilmington.lambdas;
1
+package com.zipcodewilmington.streams;
2 2
 
3
-import com.zipcodewilmington.lambdas.anthropoid.Person;
3
+import com.zipcodewilmington.streams.anthropoid.Person;
4 4
 import org.junit.Before;
5 5
 import org.junit.Test;
6 6
 

src/test/java/com/zipcodewilmington/lambdas/TestStreamMap.java → src/test/java/com/zipcodewilmington/streams/TestStreamMap.java Целия файл

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.lambdas;
1
+package com.zipcodewilmington.streams;
2 2
 
3 3
 import org.junit.Test;
4 4
 

src/test/java/com/zipcodewilmington/lambdas/TestSuiteFullRegression.java → src/test/java/com/zipcodewilmington/streams/TestSuiteFullRegression.java Целия файл

@@ -1,4 +1,4 @@
1
-package com.zipcodewilmington.lambdas;
1
+package com.zipcodewilmington.streams;
2 2
 
3 3
 import org.junit.runner.RunWith;
4 4
 import org.junit.runners.Suite;

src/test/java/com/zipcodewilmington/lambdas/exercises/TestConversionAgent.java → src/test/java/com/zipcodewilmington/streams/exercises/TestConversionAgent.java Целия файл

@@ -1,6 +1,6 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2 2
 
3
-import com.zipcodewilmington.lambdas.anthropoid.Person;
3
+import com.zipcodewilmington.streams.anthropoid.Person;
4 4
 import org.junit.Assert;
5 5
 import org.junit.Before;
6 6
 import org.junit.Test;

src/test/java/com/zipcodewilmington/lambdas/exercises/TestConverterArray.java → src/test/java/com/zipcodewilmington/streams/exercises/TestConverterArray.java Целия файл

@@ -1,4 +1,6 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2
+
3
+import com.zipcodewilmington.streams.TestConstants;
2 4
 
3 5
 /**
4 6
  * Created by leon on 5/25/17.

src/test/java/com/zipcodewilmington/lambdas/exercises/TestConverterList.java → src/test/java/com/zipcodewilmington/streams/exercises/TestConverterList.java Целия файл

@@ -1,4 +1,6 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2
+
3
+import com.zipcodewilmington.streams.TestConstants;
2 4
 
3 5
 /**
4 6
  * Created by leon on 5/25/17.

src/test/java/com/zipcodewilmington/lambdas/exercises/TestConverterStream.java → src/test/java/com/zipcodewilmington/streams/exercises/TestConverterStream.java Целия файл

@@ -1,4 +1,6 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2
+
3
+import com.zipcodewilmington.streams.TestConstants;
2 4
 
3 5
 /**
4 6
  * Created by leon on 5/25/17.

src/test/java/com/zipcodewilmington/lambdas/exercises/TestSuiteConversionRegression.java → src/test/java/com/zipcodewilmington/streams/exercises/TestSuiteConversionRegression.java Целия файл

@@ -1,8 +1,5 @@
1
-package com.zipcodewilmington.lambdas.exercises;
1
+package com.zipcodewilmington.streams.exercises;
2 2
 
3
-import com.zipcodewilmington.lambdas.TestPersonFactory;
4
-import com.zipcodewilmington.lambdas.TestStreamFilter;
5
-import com.zipcodewilmington.lambdas.TestStreamMap;
6 3
 import org.junit.runner.RunWith;
7 4
 import org.junit.runners.Suite;
8 5
 

BIN
target/classes/com/zipcodewilmington/lambdas/exercises/StreamConverter.class Целия файл


BIN
target/test-classes/com/zipcodewilmington/lambdas/exercises/TestConstants.class Целия файл


BIN
target/test-classes/com/zipcodewilmington/lambdas/exercises/TestConverterArray.class Целия файл


BIN
target/test-classes/com/zipcodewilmington/lambdas/exercises/TestConverterList.class Целия файл


BIN
target/test-classes/com/zipcodewilmington/lambdas/exercises/TestConverterStream.class Целия файл