GitHub user geoffschoeman opened a pull request: https://github.com/apache/commons-collections/pull/3
Added MultiValuedLinkedHashMap to preserve insertion order. Added a MultiValuedLinkedHashMap to preserve insertion order in both the map and value list. My use case is to convert an XML string to a map using Jackson. The requirements stated that sub-elements could have duplicate tag names and element order must be preserved. The MultiValuedLinkedHashMap uses a LinkedHashMap with values of LinkedList to preserve order. You can merge this pull request into a Git repository by running: $ git pull https://github.com/geoffschoeman/commons-collections trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-collections/pull/3.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3 ---- commit 436f697ece6d6f7af88e59af34fa32e74fb5bbe2 Author: Geoff Schoeman <geoffschoe...@gmail.com> Date: 2014-10-08T01:15:26Z Added MultiValuedLinkedHashMap to preserve insertion order. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org