cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <lon.varsc...@gmail.com>
Subject Ordering and sorting
Date Thu, 14 May 2015 00:15:40 GMT
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