DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29440>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29440 [Collections] MultiSortedMap / MultiTreeMap Summary: [Collections] MultiSortedMap / MultiTreeMap Product: Commons Version: Nightly Builds Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Collections AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Currently Collections (v3.1-dev) contains only a single implementation of the MultiMap interface: MultiHashMap. Sometimes it would be useful to have other MultiMaps, e.g. MultiMaps following the SortedMap contract. Since I had urgent need for such a MultiSortedMap, I copied-and-pasted MultiHashMap to created a class "MultiTreeMap". I'm ready to add it as a patch if you're interested. Of course, this is a very ugly approach because of the code duplication. A better solution would be to create an MultiMap implementation that wraps a map of the requested type (HashMap, TreeMap, whatever) instead of subclassing. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
