Java8 lambda introduction
Java8 lambda introduction
A java8 lambda introduction using star wars movies information.
Compile and assemble
- Run
make compile
to build - Run
make assemble
to build with dependencies.
It was developed using Java 8 and Maven 3.5.0.
filter
- Work with predicate
- Find movies by director
- Find movies by date
- Find movies beetween two dates
- Find movies by character
- Multiple predicates
Run with:
make filter
make finder
maps
- What are maps?
- All titles
- All directors
- All characters
Run with:
make mapper
sort
- Writing a Comparator
- Sort by Id
- Sort by Release Date
- Sort by Chronological Order
- Sort by Custom Order
Run with:
make order
make sorter
collectors
- What are collectors?
- Force Alignments x Characters
- Movie Kinds x Movie Titles
Run with:
make collector
Cleaning
- Run
make clean
or simplymake
.
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.