commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [collections] MultiMap
Date Fri, 05 Sep 2003 00:25:21 GMT
Yes there are two bugzilla entries for MultiMap ideas and implementations.
It was going to miss the 3.0 release, however if you are volunteering to
help then it could make it in.

I believe that the MultiMap interface itself is weak and needs to be
replaced (we can't change it as its an interface). MultipleMap is the best
name I could think of for the replacement, but I'm open to offers.

One or two new implementations of the new interface would then need writing,
based on the bugzilla entries, together with a brand new test class (ideally
designed like the other test classes in the framework).

It basically needs someone to commit to discuss this and implement it. If
thats you, then great!!!
Thanks
Stephen

----- Original Message -----
From: "Ted M. Young" <default@jitterpig.com>
> I see that there's still an open enhancement issue for the ChainedHashMap
> implementation (16465, opened Jan 27 2003 and status is still NEW).  Will
this
> get into the 3.0 release?
>
> I'd also love to see some better JavaDocs for MultiMap about order of the
> collection retrieved via a get().  The MultiMap interface incorrectly
states
> that "This implementation uses an ArrayList as the collection." which is
> impossible to say in an interface and implies a specific ordering of
values per
> key.  In addition, the MultiHashMap implementation states the same thing,
but
> it uses Values, which is an inner class that extends AbstractCollection
and
> doesn't say anything (one way or the other) about ordering.
>
> Finally, I find the JUnit tests for MultiHashMap to be somewhat obscure.
I was
> looking for basic tests on adding values, removing values, removing an
entire
> key, etc.  Instead I found random strings, etc., that don't help someone
new to
> the MultiMap interface.
>
> I'd be happy to help out with these things, btw.
>
> ;ted
>
> --
> Internal Data Tools Staff Engineer,
> eBay, Inc.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message