Constructor references

Stephen Colebourne scolebourne at joda.org
Thu Jul 15 16:37:30 PDT 2010


The latest SotL document does not mention constructor references. A
constructor is no more than a special kind of method. Omitting it from
JDK 7 would, I suspect, be an annoyance to developers.

The obvious syntaxes are:

  Person#()
  Person#(String, int)

or

  Person#<init>()
  Person#<init>(String, int)

Has any consideration been given to constructor references?

Stephen


More information about the lambda-dev mailing list