SHARE
TWEET

Untitled

a guest Feb 24th, 2020 128 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public boolean equals(Object obj) {
  2.         return this == obj ||
  3.                obj instanceof Tiles &&
  4.                Arrays.equals(tiles, ((Tiles)obj).tiles);
  5.     }
  6.  
  7.     public int hashCode() {
  8.         return Arrays.hashCode(tiles);
  9.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top