|
@@ -0,0 +1,25 @@
|
|
1
|
+-
|
|
2
|
+#ZCW-MicroLabs-Streams-And-Lambdas:<br>The Person Factory
|
|
3
|
+* **Purpose** - to demonstrate stream usage.
|
|
4
|
+
|
|
5
|
+-
|
|
6
|
+#Part 1
|
|
7
|
+* **Note** - The `Person` class is a representation of a respective `Person` object.
|
|
8
|
+* **Objective** - to implement the following classes:
|
|
9
|
+ * `PersonFactory` - generates `Person` objects.
|
|
10
|
+ * `PersonWarehouse` - stores, retrieves, and filters `Person` objects.
|
|
11
|
+ * `StreamFilter` - demonstrates filtering and converting between collection-types
|
|
12
|
+ * `StreamMap` - demonstrates mapping and flatmapping
|
|
13
|
+
|
|
14
|
+-
|
|
15
|
+#Part 2
|
|
16
|
+* **Objective** - to implement the following classes:
|
|
17
|
+ * `ArrayConverter` - demonstrates the conversion from `SomeType[]` to
|
|
18
|
+ * list representation: `List<SomeType>`
|
|
19
|
+ * stream representation: `Stream<SomeType>`
|
|
20
|
+ * `ListConverter` - demonstrates the conversion from `List<SomeType>` to
|
|
21
|
+ * array representation: `SomeType[]`
|
|
22
|
+ * stream representation: `Stream<SomeType>`
|
|
23
|
+ * `StreamConverter` - demonstrates the conversion from `Stream<SomeType>` to
|
|
24
|
+ * array representation: `SomeType[]`
|
|
25
|
+ * list representation: `List<SomeType>`
|