Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public boolean equals(Object object) {
- if(this==object) return true;
- if(object==null) return false;
- if (getClass() != object.getClass()) return false;
- MyClass other = (MyClass) object;
- // Logic
- }
Advertisement
Add Comment
Please, Sign In to add comment