静态方法引用。语法是Class::static_method,要求方法签名保持一致
特定类的任意对象方法引用。它的语法是Class::method。要求方法签名保持一致
特定对象的方法引用,它的语法是instance::method。要求方法签名保持一致
Class::method :列表元素上分别调用方法
instance::method:在某个对象上调用方法,将列表元素作为参数传入
构造器引用。语法是Class::new,或者更一般的Class< T >::new,可无参,可有参数。方法签名保持一致
Function<String, Student> funOneParam = Student::new;
数组引用
Type::new (new String[]::new)