Method Reference conversion
Uther
uther.ii at gmail.com
Thu Jul 19 00:22:07 PDT 2012
Some time ago, I asked if every conversion of reference to a method
would result in the same objet. I was answered it would cost too much to
do it. Howard Lovatt proposed to make method compararable with equal()
even if they are !=, but he was answered it would cost too much too.
Would it be possible to make equals() working only on annotated
interfaces, so method references would be usable for listener, while
keeping fast for other uses.
For exemple:
@MethodReferenceEquality
interface ActionListener {
...
}
Another question : It was stated that AWT/Swing improvement would be
done outside of the lambda mailing list, Does work started, is there a
mailing list about it?
Thanks
More information about the lambda-dev
mailing list