Y
Hacker News
new
|
ask
|
show
|
jobs
by
benmmurphy
96 days ago
`==` is reference identity in java and that is the problem. so you can't treat an arbitrary object as a value type because somewhere in the program `==` might be called on it.