- Purpose - to demonstrate stream usage.
- Note - The
Personclass is a representation of a respectivePersonobject. - Objective - to implement the following classes:
PersonFactory- generatesPersonobjects.PersonWarehouse- stores, retrieves, and filtersPersonobjects.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: