摘要:
1 package LambdaTest.LambdaTest04; 2 3 import java.util.function.Supplier; 4 5 /** 6 * FileName: SupplierTest 7 * Author: lps 8 * Date: 2022/4/5 16:51 阅读全文
摘要:
package LambdaTest.LambdaTest04; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; /** * FileName: CompartorDemo 阅读全文
摘要:
package LambdaTest.LambdaTest03; /** * FileName: StudentDemo * Author: lps * Date: 2022/4/5 15:34 * Sign:刘品水 Q:1944900433 */ public class StudentDemo 阅读全文
摘要:
package LambdaTest.LambdaTest03; /** * FileName: MyStringDemo * Author: lps * Date: 2022/4/5 15:09 * Sign:刘品水 Q:1944900433 */ public class MyStringDem 阅读全文
摘要:
package LambdaTest.LanbdaTest02; import java.util.Locale; /** * FileName: PrinterDemo * Author: lps * Date: 2022/4/5 14:27 * Sign:刘品水 Q:1944900433 */ 阅读全文
摘要:
java8中方法引用::有四种类型 ClassName::NewClassName::static_methodClassName::instance_methodinstance::instance_method第一种是对构造函数的引用,相当于创建对象第二种与第四种,如果有参数会把参数当方法的实参 阅读全文