This repository contains a small collection of exercises focused on the Java 8 new features ( Functional interfaces, Method references, Default methods, Streams, Optionals, etc)
There are some slides to introduce people to the features of Java 8:
Java 8 - Functional Interfaces & Lambdas
Optionals and Streams - Do more with less code
In order to compile, build and run the code you will need at least the following tools installed and ready:
- Maven
- JDK 8
- An IDE (Like IntelliJ IDEA)
All the exercises contains a small JUnit test that can be run to test if everything works as it should.
The project is divided in several packages.
The most important ones are:
- 'examples.datetime' package -> Some classes showing the possibilities of the new Date / Time API of Java 8.
- 'model' package -> Model used.
- 'exercises' package -> Collection of exercises focused on the Java 8 new features.