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



On Wed, 29 Aug 2007 06:36:43 -0700, Patricia Shanahan wrote:
If it were only for purposes of calculating hashCode(), I would
completely agree. However, my understanding is that this is to be used
as the key in a single key HashMap substituting for a map keyed by the
pair.

Thanks. My thoughts were stuck on hashCode() when I posted earlier, I
forgot about (in)equality of the keys themselves.

/gordon

--
.