Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

Java 9 New Features Examples and Tutorials

Demonstration for:

Create Immutable Lists In Java 9 By Static Factory Methods

Copy Streams In Java 9 With The InputStream.transferTo() Method

Compare Arrays In Java 9

Streams API Updates In Java 9

Java 9 HTTP 2 Client API Example

Create An Immutable Set In Java 9 By Static Factory Methods

Prerequisites:

  • Maven >= 3.3.1
  • JDK 9
  • IntelliJ 2017.3 DEA or later

Import the project into IntelliJ IDEA

Click "Import Project" button --> browse to project directory --> OK --> Import project from external model --> Maven --> Next --> Next --> Finish

Running the example

  • Run with IntelliJ

    Open JUnit test class --> Right Click --> Run

  • Run with Maven

mvn test

Morty Proxy This is a proxified and sanitized view of the page, visit original site.