https://github.com/zehracakir/booklist
https://github.com/zehracakir/booklist
enum java lambda-expressions streamapi typecasting
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zehracakir/booklist
- Owner: zehracakir
- Created: 2022-09-04T20:18:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-04T20:44:08.000Z (over 3 years ago)
- Last Synced: 2025-02-15T20:49:37.365Z (over 1 year ago)
- Topics: enum, java, lambda-expressions, streamapi, typecasting
- Language: Java
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Homework
## Book List
* The Book class consists of the name of the book, the number of pages, the name of the author, and the date of publication.
* Create 10 objects from the Book class and store them in an ArrayList structure. Using the stream structure and lambda expressions, write it to create a new Map with the name of the author opposite the book name.
* Make the enhancement that filters the books with more than 100 pages from this 10-element Book list and returns them as a new list. (You can use Stream and Lambda expressions.)