dev@jsr311.java.net

Re: JSR311: _at_*Param and List<?>

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Tue, 18 Mar 2008 12:17:34 +0100

Hello Paul,

Dups doesn't matter. It's generally not defined for a Collection (see
javadoc of Collection).

Stephan
>>>>> I think it is useful to allow also Set and SortedSet. Sometimes
>>>>> the order is irrelevant and/or dublicates could or should be
>>>>> ignored for the app. I propose also to allow Collection.
>>> What would be the order and dups policy when Collection is specified?
>>> I don't think Collection should be allowed and the developer should
>>> be explicit about the ordering/dups through the Java type specified.
>> Doesn't matter, that means runtime environment is free to choose. If a
>> method requires a Collection, there is never a order defined.
> And dups?