hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hivemind-...@jakarta.apache.org
Subject [Jakarta HiveMind Wiki] Updated: ContributionOrderingProposal
Date Tue, 28 Sep 2004 15:00:58 GMT
   Date: 2004-09-28T08:00:57
   Editor: KnutWannheden <knut.wannheden@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


Mime
View raw message