Created
April 9, 2019 04:29
-
-
Save markchristopherng/7b1f0e242c3854b7e9fb5a6903303503 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
class NonEqualWrapper<T>(var content: T?) { | |
override fun hashCode(): Int { | |
return content.hashCode() | |
} | |
override fun equals(other: Any?): Boolean { | |
return false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment