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 2013/01/26 21:37:12 UTC
[jira] [Resolved] (COLLECTIONS-165) Filtered Maps, Lists, and Sets
[ https://issues.apache.org/jira/browse/COLLECTIONS-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart resolved COLLECTIONS-165.
-----------------------------------------
Resolution: Implemented
The proposed changes already exist in commons-collections:
* PredicatedList
* PredicatedSet
* PredicatedMap
additionally, as Brent pointed out, the provided patches can not be integrated due to license issues.
> Filtered Maps, Lists, and Sets
> ------------------------------
>
> Key: COLLECTIONS-165
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-165
> Project: Commons Collections
> Issue Type: New Feature
> Components: List, Map, Set
> Affects Versions: 3.1
> Environment: Operating System: other
> Platform: Other
> Reporter: Venkatesh Prasad Ranganath
> Priority: Minor
> Fix For: 4.x
>
> Attachments: ASF.LICENSE.NOT.GRANTED--FilteredCollection.java, ASF.LICENSE.NOT.GRANTED--FilteredListIterator.java, ASF.LICENSE.NOT.GRANTED--FilteredList.java, ASF.LICENSE.NOT.GRANTED--FilteredMap.java, ASF.LICENSE.NOT.GRANTED--FilteredSet.java
>
>
> In the project I work I have found that it would be efficient (at a small cost
> of memory) to use filtered maps, lists, and sets instead of creating a new copy
> of the decorated entities that contains only the filtered elements.
> To begin with I have implemented a FilteredMap and plan to implement
> FilteredList and FilteredSet. I will post the code for these in a couple of
> days and it would be great if Collections library could accept these contributions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira