You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemind.apache.org by hi...@jakarta.apache.org on 2004/09/28 17:00:58 UTC

[Jakarta HiveMind Wiki] Updated: ContributionOrderingProposal

   Date: 2004-09-28T08:00:57
   Editor: KnutWannheden <kn...@paranor.ch>
   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: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org