Java8 新特性

时间:2015-10-24 21:54:45   收藏:0   阅读:304
Java8 new features
Java Language Specifioon

enable you to treat functionality as a method argument, or code as data.

and express interface with one-method more compactly

provide easy-to-read lambda expressions for methods that already have a name.eg: System.out::println

enable new functionality to be added to the interfaces of libraries which fuck abstract class

provide the ability to apply the same annotation type more than once to the same declaration or type use.

provide the ability to apply an annotation anywhere a type is used, not just on a declaration.

Used with a pluggable type system, this feature enables improved type checking of your code.


Collections

   elements.The Stream API is integrated into the Collection API,which enables bulk operations on collections,such as

        sequential or parallel map-reduce transformations


Internationalization

Date-Time package

Java Mission Control --need to learn

HotSpot

Java XML --JAXP

Concurrency

 

Java.lang And Java.util Packages

IO And NIO

 

 

   

 

原文:http://www.cnblogs.com/fight-tao/p/4907557.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!