[jira] [Resolved] (COLLECTIONS-165) Filtered Maps, Lists, and Sets

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Resolved] (COLLECTIONS-165) Filtered Maps, Lists, and Sets

ASF GitHub Bot (Jira)

     [ 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