The implementation of default methods (original) (raw)
Doug Lea dl at cs.oswego.edu
Fri Dec 14 05:20:58 PST 2012
- Previous message: The implementation of default methods
- Next message: The implementation of default methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/14/12 08:06, David Holmes wrote:
Okay we now have several threads across the public lists debating the issue of whether the implementations of default methods that we are adding to the core libraries are the required implementation for those default methods or simply an implementation.
Can we get a definitive position on this?
My vote is to use the form and style I showed for Map; still at http://gee.cs.oswego.edu/dl/wwwtmp/apis/Map.html
Main idea:
- A sentence or two of basic spec.
- "The default implementation is equivalent to ..." (note that it must always be possible to say this for anything default implementable.)
- Any constraints on overrides for implementors
- Other notes, clarifications, examples, advice.
- params/return/throw specs
-Doug
- Previous message: The implementation of default methods
- Next message: The implementation of default methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-experts mailing list