Search:

Type: Posts; User: Junky

Search: Search took 0.15 seconds.

  1. Replies
    4
    Views
    1,422

    Re: Comparing two objects

    Exactly how you have written it. It will only work if your equals (and possibly hashcode) method returns the correct value.
  2. Replies
    4
    Views
    1,422

    Re: Comparing two objects

    Does your Player class have an equals method?
    Does your equals method have correct behaviour?
Results 1 to 2 of 2