Re: How can i implements a class like an HashMap but with 2 keys ?



On 29 Aug 2007 13:24:31 GMT, Gordon Beaton <n.o.t@xxxxxxxxx> wrote,
quoted or indirectly quoted someone who said :

Why is it necessary to separate them? The cost of not doing so is only
an increased risk of collisions.

You could get false hits:

applespear would match apple-spear and apples-pear
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.