cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Ordering.orderedList
Date Wed, 03 Aug 2016 06:35:08 GMT
I've no objections to a more generic API here. The only consideration is that "orderList" does
in-place ordering. A Collection argument on the other hand will need to be cloned into a list
before ordering. Otherwise open to suggestions.

Andrus

> On Aug 3, 2016, at 1:33 AM, Hugi Thordarson <hugi@karlmenn.is> wrote:
> 
> Hi all,
> just wondering if Ordering.orderedList( List ) should accept a Collection rather than
a List? Looks like it can be done only by modifying the signature of the method.
> 
> Cheers,
> - hugi


Mime
View raw message