Even a Collection works well for this.

On Monday, 11 January 2016, Gary Gregory <[email protected]> wrote:

> On Mon, Jan 11, 2016 at 5:19 PM, Ralph Goers <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>> It is returning a List already.  Does it really matter much?
>>
>
> It is not indeed critical. It's just a finer point of declaring the
> intention of the data model, either duplicates are allowed and expected, or
> not.
>
> Gary
>
>>
>> Ralph
>>
>> On Jan 11, 2016, at 6:04 PM, Gary Gregory <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>> Should APIs like:
>>
>> org.apache.logging.log4j.core.config.Configuration.getPluginPackages()
>>
>> really return a List instead of a Set?
>>
>> Gary
>>
>> --
>> E-Mail: [email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');> | 
>> [email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>>
>>
>
>
> --
> E-Mail: [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');> | [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>


-- 
Matt Sicker <[email protected]>

Reply via email to