|
|
|
|
1
|
--
|
|
|
2
|
# ZCW-MicroLabs-Streams-And-Lambdas:<br>The Person Factory
|
1
|
# ZCW-MicroLabs-Streams-And-Lambdas:<br>The Person Factory
|
3
|
* **Purpose** - to demonstrate stream usage.
|
2
|
* **Purpose** - to demonstrate stream usage.
|
4
|
|
3
|
|
5
|
--
|
|
|
6
|
# Part 1
|
4
|
# Part 1
|
7
|
* **Note** - The `Person` class is a representation of a respective `Person` object.
|
5
|
* **Note** - The `Person` class is a representation of a respective `Person` object.
|
8
|
* **Objective** - to implement the following classes:
|
6
|
* **Objective** - to implement the following classes:
|
|
|
|
|
11
|
* `StreamFilter` - demonstrates filtering and converting between collection-types
|
9
|
* `StreamFilter` - demonstrates filtering and converting between collection-types
|
12
|
* `StreamMap` - demonstrates mapping and flatmapping
|
10
|
* `StreamMap` - demonstrates mapping and flatmapping
|
13
|
|
11
|
|
14
|
--
|
|
|
15
|
# Part 2
|
12
|
# Part 2
|
16
|
* **Objective** - to implement the following classes:
|
13
|
* **Objective** - to implement the following classes:
|
17
|
* `ArrayConverter` - demonstrates the conversion from `SomeType[]` to
|
14
|
* `ArrayConverter` - demonstrates the conversion from `SomeType[]` to
|