You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2026/06/17 22:27:00 UTC
[jira] [Comment Edited] (COLLECTIONS-880) MultiMapUtils.invert should allow an ordinary Map as input
[ https://issues.apache.org/jira/browse/COLLECTIONS-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089781#comment-18089781 ]
Gary D. Gregory edited comment on COLLECTIONS-880 at 6/17/26 10:26 PM:
-----------------------------------------------------------------------
{{org.apache.commons.collections4.MultiMapUtils.invert(MultiValuedMap<? extends V, ? extends K>, M)}} is in git master.
was (Author: garydgregory):
`org.apache.commons.collections4.MultiMapUtils.invert(MultiValuedMap<? extends V, ? extends K>, M)` is in git master.
> MultiMapUtils.invert should allow an ordinary Map as input
> ----------------------------------------------------------
>
> Key: COLLECTIONS-880
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-880
> Project: Commons Collections
> Issue Type: Improvement
> Reporter: Sebb
> Priority: Major
> Fix For: 4.6.0
>
>
> There is no particular reason for the input Map to be a MultiMap.
> There should be a way to invert a Map into a MultiMap.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)