| Author |
not equals
|
Tyler Jordan
Ranch Hand
Joined: Nov 17, 2003
Posts: 70
|
|
Hi, Is there a "not equals" method for objects (opposite .equals()) I want to make: data[x][y] not equal to "*"
|
 |
Jeff Bosch
Ranch Hand
Joined: Jul 30, 2003
Posts: 804
|
|
You could declare your own notEquals() methods if you have access to the class source code, or you could try something like: Hope that helps!
|
Give a man a fish, he'll eat for one day. <br />Teach a man to fish, he'll drink all your beer.<br /> <br />Cheers,<br /> <br />Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
|
 |
 |
|
|
subject: not equals
|
|
|