8000 GitHub - Rossyafk/embrace-java-8: Collection of Java 8 samples
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rossyafk/embrace-java-8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embrace Java 8

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

Java 8 - Streams & Optionals

Optionals and Streams - Do more with less code

Prerequisites

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)

Execution

All the exercises contains a small JUnit test that can be run to test if everything works as it should.

Structure

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.

About

Collection of Java 8 samples

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0