Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 529 Bytes

File metadata and controls

32 lines (24 loc) · 529 Bytes

Learning V9 Project

This project has the goal to learn about the new releases from Java 9

Important Features

Modularity

Some commands

javac --module-source-path src -d out $(find . -name '*.java')
java --module-path out -m example/javamodularity/Main 

Optional

  • ifPresentOrElse()
  • or()
  • stream()

Collection

  • New ImmutableCollections
  • Factory methods: of()

Stream.collect()

  • filtering()
  • flatMapping()

Interface

  • Private Methods

Stream API

  • dropWhile()
  • takeWhile()