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



Rob schreef:
Hendrik Maryns wrote:

Have a look at Jakarta Commons Collections, it has MultiKey and
MultiKeyMap, which works exactly as you describe.

If you want a generic version, let me know.

H.

Yes, i read in the api and seems perfect for what i have to do.

A generic version is better, do you know where can i get it?

The Jakarta team has been very reluctant in starting a generic version.
Finally, there has been some advancement there. However, I have made
my own generic version, if you send me an e-mail, I can send it to you.

Mention which classes you would like.

Alternatively, there is ‘larvalabs’.

H.
--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

Attachment: signature.asc
Description: OpenPGP digital signature