Lambda spec suggestion (section 15.27)

Michael Ernst mernst at cs.washington.edu
Thu Jan 10 14:46:47 PST 2013


Section 15.27 says:

   Examples of method and constructor references:

   System::getProperty
   "abc"::length
   String::length
   super::toString
   ArrayList::new

It would be useful to show examples that use type arguments as well, such
as

   ArrayList<String>::new

which is better style anyway (no raw types!).

		    -Mike


More information about the lambda-spec-comments mailing list