[ 
https://issues.apache.org/jira/browse/COLLECTIONS-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Eckart de Castilho updated COLLECTIONS-706:
---------------------------------------------------
    Description: 
Add an equivalent to the Arrays.asList() method for conveniently creating sets. 
A trivial implementation would be:

SetUtils.asSet(T... items) -> return Collections.unmodifiableSet(new 
HashSet<>(asList(items));

> Add SetUtils.asSet(T... items) method
> -------------------------------------
>
>                 Key: COLLECTIONS-706
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-706
>             Project: Commons Collections
>          Issue Type: New Feature
>            Reporter: Richard Eckart de Castilho
>            Priority: Major
>
> Add an equivalent to the Arrays.asList() method for conveniently creating 
> sets. A trivial implementation would be:
> SetUtils.asSet(T... items) -> return Collections.unmodifiableSet(new 
> HashSet<>(asList(items));



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to