I have tow instances of this example class like this:
Class A
{
String m1;
String m2;
int m3;
}
and two objects
A obj1, obj2
I want to perform deep equality (non reference based, but content based).
Is there a way that java will do the deep equality without me to have to override equals(Object other)
?