Search |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Blogs by topic J2SE and user schaefa
J2SE![]()
According to Joshua Bloch's Effective Java book the equals() method does not work with inheritance. Because of my mathematical background I started to thing about Complex numbers and how an implementation of them would fail if we could not solve this problem. Here I am going to discuss a solution and its problems.
![]()
After ranting about the still unresolved Cloneable shortcoming I want to propose a solution to fix it once and for all.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|