Before learning the new features of Java8, we briefly looked at the new features of the previous editions from Java5, which were summed up by others.
New features of Java5, Java6, Java7, Java8
http://blog.csdn.net/samjustin1/article/details/52268004
Where Java 7 4th introduced System.getjavaiotempdir () .... These methods are no longer available, with system.getproperties () to achieve the same goal.
For example, System.getuserdir () can be replaced with system.getproperties ("User.dir").
Map map = {name: "xxx", age:18};//not feasible
The author is a copy-paste party, it is estimated that these features have not been added.
Java8 new Features
Http://www.cnblogs.com/chengJAVA/p/6113649.html
1. function-type interface
2.Lambda expression
3. Enhanced interfaces (much like abstract classes)
4.stream stream operation (similar to Scala)
5.Io/nio improvements to the new API
6. Internationalization, date class of new API (said to be improved, not feel, it should be I use less)
The stream is designed so that it does not require all data to be transferred into memory at the same time (even without computation at all), so that it can handle streaming data that cannot be loaded into the computer's memory. But Java 8 can do some optimizations that the collection cannot do, for example, it can combine several operations on the same stream to iterate through the data only once, rather than having to traverse it many times at great cost. Even better, Java can automatically parallelize streaming operations (collections are not a good idea). ----"Java8 Combat"
Java 8 Learning (continuous update)