Re: Java HashSet Problem



On Mar 14, 5:05 am, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
On 14 Mar 2008 06:50:57 GMT, Gordon Beaton <n....@xxxxxxxxx> wrote,
quoted or indirectly quoted someone who said :

Indeed. Perhaps if you actually *read* the thread before posting your
reply, you would have seen that the correct answer had already been
posted twice by others.

Guilty as charged. In general I don't read all the threads, mainly
because so few of the posts have anything to do with the topic at
hand. Most are about one-up-manship games, as was your post.
--

Roedy Green Canadian Mind Products
The Java Glossaryhttp://mindprod.com


Thanks everyone. I overrode equals() instead of overloading it and
now it works perfectly. Stupid mistake o my part but I guess you
learn something new every day.
.



Relevant Pages

  • Re: Java HashSet Problem
    ... posted twice by others. ... Guilty as charged. ... because so few of the posts have anything to do with the topic at ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.programmer)
  • Re: did man walk on the moon...and creationism.
    ... guilty, ... Guilt is not obvious in the case of WVB. ... posts, so why are you waiting so long to say this? ... did not appear eager to get involved when Governor ...
    (talk.origins)
  • Re: did man walk on the moon...and creationism.
    ... guilty, ... Guilt is not obvious in the case of WVB. ... posts, so why are you waiting so long to say this? ... did not appear eager to get involved when Governor ...
    (talk.origins)
  • Re: did man walk on the moon...and creationism.
    ... guilty, ... Guilt is not obvious in the case of WVB. ... posts, so why are you waiting so long to say this? ... did not appear eager to get involved when Governor ...
    (talk.origins)
  • Re: Distrbte WM player w/PPt on CD
    ... Sorry about the multiple posts... ... I posted twice because I realized ... I don't see one strictly for the WM player 9 windows. ... given instructions on downloading installation files and how to install on ...
    (microsoft.public.powerpoint)