From: Doug C. <de...@fl...> - 2002-02-22 19:42:20
|
> Does anyone want to add support for java.util.SortedSet and > java.util.SortedMap? The existing code for Map + Set should be a good guide > on how to do it (and we should be able to inherit from > cirrus.hibernate.collections.Map, cirrus.hibernate.collections.Map). The > implementations could be backed by TreeSet, TreeMap. I will make the two files in cirrus.hibernate.collections > We would have to add to the mapping DTD (dammit) .... probably an attribute > called 'sorted' for the <map> and <set> elements would be best..... What about the Comparator? Perhaps sorted="true" for the default, and optionally sorted="class.of.Comparator" for custom comparator? e |