cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <lon.varsc...@gmail.com>
Subject Re: Ordering and sorting
Date Thu, 14 May 2015 00:55:34 GMT
Actually I would love an orderedList where it returns a new array...but I'm
a WObie. :)

On Wed, May 13, 2015 at 5:17 PM, Lon Varscsak <lon.varscsak@gmail.com>
wrote:

> I'm an idiot...please ignore my question, I missed "orderList".  D'oh! :P
>
> -Lon
>
> On Wed, May 13, 2015 at 5:15 PM, Lon Varscsak <lon.varscsak@gmail.com>
> wrote:
>
>> Shouldn't the Ordering class have methods to sort a collection?  So you
>> could chain things like:
>>
>> MY_PROPERTY.asc().sortObjects(myList)
>>
>> It could also be useful if MY_PROPERTY.ascs() return a Orderings object
>> (both plural) that subclassed a collection, so that you could chain those
>> as well.
>>
>> Thoughts?
>>
>> -Lon
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message