kasper at kav.dk
Thu Sep 1 16:41:16 EDT 2011
On 01-09-2011 21:07, Mike Duigou wrote:
> On Aug 28 2011, at 19:53 , concurrency-interest-request at cs.oswego.edu wrote:
> One key difference is that the proposed Java SE 8 Mapper does not say anything about null handling and it is anticipated that Mapper will be used in places where null must be accommodated. The CHM may choose to just use the Mapper and document it's handling of null or could alternately create a specialized sub-interface to document the extended semantics.
No need to create specialized sub-interface for this.
Just document on the Mapper interface that some consumers of this
interface may place restrictions on the type of output they accept from
a mapper. Like ju.Map does it. HashMap accepts null keys and values.
More information about the Concurrency-interest