Advertisement
Guest User

Untitled

a guest
Apr 18th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1. @Override
  2. public boolean equals(Object obj) {
  3.        
  4.    if (obj == null) return false;
  5.    if (getClass() != obj.getClass()) return false;
  6.        
  7.    final Block<?> other = (Block<?>) obj;
  8.    return Objects.equals(this.title, other.title);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement