You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by tm...@nitwit.de on 2005/02/13 14:26:57 UTC

FastMultiHashMap, BidiMultiHashMap

Hi!

This probably rather belongs to the developer's mailing list but is there any 
particular reason why there is no FastMultiHashMap and BidiMultiHashMap?

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


Re: FastMultiHashMap, BidiMultiHashMap

Posted by tm...@nitwit.de.
On Sunday 13 February 2005 15:40, Stephen Colebourne wrote:
> because writing Bidi maps is fiendishly complicated, and there are many

What fiendishly complicated about them? They simply consist of two HashMaps.

> other possible bidi maps that _coul_ be created (thus only the simple basic
> ones are provided)

Bidi map should be created in a plugable manner (decorator, ...). BTW You 
cannot apply type-safe decorator to MultiMap.

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


Re: FastMultiHashMap, BidiMultiHashMap

Posted by Stephen Colebourne <sc...@btopenworld.com>.
From: <tm...@nitwit.de>
> This probably rather belongs to the developer's mailing list but is there 
> any
> particular reason why there is no FastMultiHashMap
because the Fast* classes are in general thought to be of dubious value due 
to the double checked locking problem, see comments in the class

> and no BidiMultiHashMap?
because writing Bidi maps is fiendishly complicated, and there are many 
other possible bidi maps that _coul_ be created (thus only the simple basic 
ones are provided)

Stephen



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