1、Function函数
public static void main(String[] args) { TestController t = new TestController(); new TestController().aaa(3,value -> t.bbb(value));}public int bbb(int b){ return b+100;}public void aaa(int a,Functionf){ Object apply = f.apply(a); System.out.println("ggg:"+apply);}