Skip to content

Latest commit

 

History

History
48 lines (41 loc) · 1.37 KB

README.md

File metadata and controls

48 lines (41 loc) · 1.37 KB

New features in Java

Going over some useful new features in Java without using any 3d party libraries... Be aware we listed these features under the JDK version they first appeared in as a preview, but there might be some deviation from this rule.

JDK 9

Release notes

  • Process API
  • Collection utils
  • Optional::stream
  • Diamond Operator Extension
  • Interface Private Method
  • (Jigsaw: modular system)
  • (JShell)

JDK 10

Release notes

  • Keyword: var & Type Inference
  • Unmodifiable collections:
    • Copy Of
    • To Unmodifiable
  • Optional: OrElseThrow

JDK 11

Release notes

  • String methods
  • Lambda's with annotations
  • HttpClient
  • Unicode 10

JDK 12

Release notes

  • String methods
  • Switch statement changes

JDK 13

Release notes

  • Switch statement changes
  • Pattern
  • Text Blocks

JDK 14

Release notes

  • Records

JDK 15

Release notes

  • Sealed Classes