return true;
}
if (!this.getClass().equals(other.getClass()))
return false;
GenericObject that = (GenericObject) other;
Class myclass = this.getClass();
Class hisclass = other.getClass();
while (true) {
Field[] fields = myclass.getDeclaredFields();
Field[] hisfields = hisclass.getDeclaredFields();