摘要:There is 4 method of the referenced method: Student class: StudentComparator class: Test:public class MethodReferenceTest {
阅读全文
posted @ 2017-05-21 16:28
随笔分类 - java8
To record the process of learning java8
摘要:There is 4 method of the referenced method: Student class: StudentComparator class: Test:public class MethodReferenceTest {
阅读全文
posted @ 2017-05-21 16:28
摘要:The Optional class encapsulate the object type.To avoid some exception (ex.NullPointException...) Plz go http://docs.oracle.com/javase/8/docs/api/ to
阅读全文
posted @ 2017-05-21 16:08
摘要:The most crucial distinguish between functional interface invoking and traditional method invoking is that transforming behavious or params it is.Howe
阅读全文
posted @ 2017-05-21 15:58
摘要:The @FunctionalInterface is new annotation in java8.To invoke the function interface's method can be replaced by lambda expression.There is : 1.A func
阅读全文
posted @ 2017-05-21 14:21
摘要:1.The collect is declared by the Interface of Stream.The param is Collector Interface. 2.The Collector Interface mainly contains 4 functions about: (1
阅读全文
posted @ 2017-05-21 13:33
|
||