https://github.com/zipcodecore/streams-and-lambdas.maven
https://github.com/zipcodecore/streams-and-lambdas.maven
corejava corejava-chapter6 corejava-chapter6-section3 corejava-forimpatient corejava-forimpatient-chapter8
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zipcodecore/streams-and-lambdas.maven
- Owner: ZipCodeCore
- Created: 2017-10-04T02:59:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-27T16:45:07.000Z (almost 4 years ago)
- Last Synced: 2025-04-15T21:16:17.038Z (8 months ago)
- Topics: corejava, corejava-chapter6, corejava-chapter6-section3, corejava-forimpatient, corejava-forimpatient-chapter8
- Language: Java
- Size: 6.02 MB
- Stars: 1
- Watchers: 0
- Forks: 42
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Streams-And-Lambdas: The Person Factory
* **Purpose** - to demonstrate stream usage.
## Part 1
* **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
## Part 2
* **Objective** - to implement the following classes:
* `ArrayConverter` - demonstrates the conversion from `SomeType[]` to
* list representation: `List`
* stream representation: `Stream`
* `ListConverter` - demonstrates the conversion from `List` to
* array representation: `SomeType[]`
* stream representation: `Stream`
* `StreamConverter` - demonstrates the conversion from `Stream` to
* array representation: `SomeType[]`
* list representation: `List`