java8 new features - Introduction

First, the main content: One of the most core of lambda expressions and Stream API

  1. lambda expressions
  2. Functional Interface
  3. And references cited constructor method
  4. Stream API
  5. The default interface methods, and static methods
  6. The new date and time API
  7. Other new features

Second, the advantages

  1. faster
  2. Less code (adding new syntax for lambda expressions)
  3. Powerful Stream API
  4. Parallel to facilitate
  5. Optional maximize Save null pointer exception

Guess you like

Origin www.cnblogs.com/zhangweibin/p/11079524.html