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.

Reply via email to