The implementation of default methods
Doug Lea
dl at cs.oswego.edu
Fri Dec 14 08:45:21 PST 2012
On 12/14/12 11:30, Brian Goetz wrote:
> 1. Document "Implementation note: The default implementation currently..."
As always, the fewer of these the better. In j.u/j.u.c, these
are used mostly for resource limitations (like max threads in FJP)
that might someday be lifted.
>
> 2. Document "The default implementation behaves as if..." (Or whatever Doug's
> proposed wording is.)
In j.u.c, we always say "is behaviorally equivalent to" but I dropped
the "behaviorally" in Map candidate because someone once told me
it was overly pedantic :-)
>
> 3. Document "The default implementation MUST"
Isn't this just the normal spec part, that should precede the default
implementation part?
-Doug
More information about the lambda-libs-spec-observers
mailing list