Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not equals

 
Tyler Jordan
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 805
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic