commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Kestle (JIRA)" <j...@apache.org>
Subject [jira] Created: (COLLECTIONS-275) IndexedCollection would be a useful addition to Commons Collections
Date Thu, 08 Nov 2007 11:53:50 GMT
IndexedCollection would be a useful addition to Commons Collections
-------------------------------------------------------------------

                 Key: COLLECTIONS-275
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-275
             Project: Commons Collections
          Issue Type: New Feature
          Components: Collection
            Reporter: Stephen Kestle
             Fix For: Generics


I propose that an IndexedCollection is added, which has the following properties

* IndexedCollection<K,C> implements Collection<C>, Map<K,C>
* Contains a Transformer<C,K> for determining the keys
* Presents as an unmodifiableMap (all manipulation must be done through the collection)
* It will need constructors for unique indexes (Map) and non-unique (Map<K,Collection<V>>
/ MultiMap).  


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message