Collection.toArray <was> Re: Loose ends inventory
Doug Lea
dl at cs.oswego.edu
Tue Jun 11 08:45:46 PDT 2013
On 06/11/13 11:30, Paul Sandoz wrote:
> On Jun 11, 2013, at 1:21 AM, Brian Goetz <brian.goetz at Oracle.COM> wrote:
>>> - Add A[] toArray(IntFunction<A[]> generator) to Collection.
>>
>> Got stalled.
>>
>
> This got stalled on the niggle of toArray(null) which would be ambiguous, and likely affects tests in the TCK.
>
Why not just given another name?
Also, can someone remind me of the use cases? Seems a little marginal.
-Doug
More information about the lambda-libs-spec-experts
mailing list