Created
May 29, 2020 03:17
-
-
Save pradhyu/f104dd4a5525a8b38616efacb214cb3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@override | |
public boolean equals(final Object object) { | |
if (this == object) { | |
return true; | |
} | |
if (!(object instanceof KnowledgePackageImpl)) { | |
return false; | |
} | |
KnowledgePackageImpl other = (KnowledgePackageImpl) object; | |
return this.name.equals(other.name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment