You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2014/04/11 21:45:17 UTC

[jira] [Commented] (COLLECTIONS-517) [Collection|List]Utils.[intersection|union] should accept vararg parameters

    [ https://issues.apache.org/jira/browse/COLLECTIONS-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967011#comment-13967011 ] 

Thomas Neidhart commented on COLLECTIONS-517:
---------------------------------------------

This is definitely something of interest
Would be great if you can provide a patch.

> [Collection|List]Utils.[intersection|union] should accept vararg parameters
> ---------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-517
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-517
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: Collection, List
>    Affects Versions: 4.0
>            Reporter: Hollis Waite
>            Priority: Minor
>
> Would be convenient if intersection/union methods accepted arbitrary number of arguments. Two-arg methods could be retained in order to avoid compiler warnings (https://issues.apache.org/jira/browse/COLLECTIONS-481?focusedCommentId=13762173&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13762173). Alternatively, method could be overloaded to accept a single Iterable of Lists/Sets. I could create a patch for this if it's deemed worthwhile.



--
This message was sent by Atlassian JIRA
(v6.2#6252)