Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean equals(Object obj) {
- return this == obj ||
- obj instanceof Tiles &&
- Arrays.equals(tiles, ((Tiles)obj).tiles);
- }
- public int hashCode() {
- return Arrays.hashCode(tiles);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement