View Code? Open in Web Editor
NEW
License: Mozilla Public License 2.0
maven_streams-and-lambdas's Introduction
Streams-And-Lambdas:
The Person Factory
- Purpose - to demonstrate stream usage.
- Note - The
Person
class is a representation of a respective Person
object.
- Objective - to implement the following classes:
PersonFactory
- generates Person
objects.
PersonWarehouse
- stores, retrieves, and filters Person
objects.
StreamFilter
- demonstrates filtering and converting between collection-types
StreamMap
- demonstrates mapping and flatmapping
- Objective - to implement the following classes:
ArrayConverter
- demonstrates the conversion from SomeType[]
to
- list representation:
List<SomeType>
- stream representation:
Stream<SomeType>
ListConverter
- demonstrates the conversion from List<SomeType>
to
- array representation:
SomeType[]
- stream representation:
Stream<SomeType>
StreamConverter
- demonstrates the conversion from Stream<SomeType>
to
- array representation:
SomeType[]
- list representation:
List<SomeType>