- Purpose - to demonstrate stream usage.
- Note - The
Person
class is a representation of a respectivePerson
object. - Objective - to implement the following classes:
PersonFactory
- generatesPerson
objects.PersonWarehouse
- stores, retrieves, and filtersPerson
objects.StreamFilter
- demonstrates filtering and converting between collection-typesStreamMap
- demonstrates mapping and flatmapping
- Objective - to implement the following classes:
ArrayConverter
- demonstrates the conversion fromSomeType[]
to- list representation:
List<SomeType>
- stream representation:
Stream<SomeType>
- list representation:
ListConverter
- demonstrates the conversion fromList<SomeType>
to- array representation:
SomeType[]
- stream representation:
Stream<SomeType>
- array representation:
StreamConverter
- demonstrates the conversion fromStream<SomeType>
to- array representation:
SomeType[]
- list representation:
List<SomeType>
- array representation: