摘要:
package lambda; import org.junit.Test; public class TestFunction { /** * lambda表达式计算求和 */ @Test public void Test() { MyFunction mf=(x)->++x; int m=mf. 阅读全文
摘要:
package lambda; import java.util.Comparator; import java.util.function.Consumer; import org.junit.Test; public class TestLambda2 { @Test public void t 阅读全文
摘要:
package test; import java.util.ArrayList; import java.util.List; import org.junit.Test; public class MyInfo { @Test public void test2() { System.out.p 阅读全文
摘要:
//测试类 package test; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Test; public class TestLambda { @Test public void 阅读全文