Can extension methods be overriden?
Stephen Colebourne
scolebourne at joda.org
Mon Dec 14 08:21:13 PST 2009
2009/12/14 Paulo Levi <i30817 at gmail.com>:
> When i thought about this a while ago it seemed obvious that extension
> methods would be methods that didn't depend on any non-public methods or any
> state (since they are to be used in interfaces).
I'd like it to be a goal to permit a class to "implement" an extension
method more efficiently than the default implementation. However, I
haven't considered how this could be achieved or even if its possible.
Stephen
PS. This is a resend, as for the umpteenth time I replied to the
person rather than the list. My Christmas wish is OpenJDK mailing
lists that have reply-to back to the list!!!
More information about the lambda-dev
mailing list