Re: How can i implements a class like an HashMap but with 2 keys ?
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 29 Aug 2007 13:41:01 GMT
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
--
.
- References:
- How can i implements a class like an HashMap but with 2 keys ?
- From: Rob
- Re: How can i implements a class like an HashMap but with 2 keys ?
- From: Roedy Green
- Re: How can i implements a class like an HashMap but with 2 keys ?
- From: Patricia Shanahan
- Re: How can i implements a class like an HashMap but with 2 keys ?
- From: Gordon Beaton
- Re: How can i implements a class like an HashMap but with 2 keys ?
- From: Patricia Shanahan
- How can i implements a class like an HashMap but with 2 keys ?
- Prev by Date: Re: How can i implements a class like an HashMap but with 2 keys ?
- Next by Date: Re: Adding SCROLLBARS to a JTextArea
- Previous by thread: Re: How can i implements a class like an HashMap but with 2 keys ?
- Next by thread: Re: How can i implements a class like an HashMap but with 2 keys ?
- Index(es):