rook
08/16/2017, 2:42 PMequals()?
override fun equals(other: Any?): Boolean {
other?.let {
if (other !is Foo) return false
if (other.hashCode() != hashCode()) return false
} ?: return false
return true
}