Date: 2004-09-28T08:00:57
   Editor: KnutWannheden <[EMAIL PROTECTED]>
   Wiki: Jakarta HiveMind Wiki
   Page: ContributionOrderingProposal
   URL: http://wiki.apache.org/jakarta-hivemind/ContributionOrderingProposal

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -35,3 +35,4 @@
 
 Do we need to support sorting on multiple columns?  Descending sorts?  Sorting 
with comparators?
 
+KnutWannheden: I was thinking about this problem a few days ago.  The approach 
I came up with was somewhat different though.  I thought it would almost be 
easier if the ordering were specified in Java.  The class which the 
contributions are mapped to would thus either have to implement 
{{{Comparable}}} or HiveMind's {{{Orderable}}} interface.  HiveMind could then 
automatically order the contributions accordingly.  This would also quite 
elegantly solve the problems of sorting on multiple columns and descending 
sorts by leaving the problem up to the developer.  Thoughts?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to