Update headers.txt

This commit is contained in:
Andrea Cavalli 2020-10-15 11:42:07 +02:00
parent 93b01456e5
commit 73e2a15473

View File

@ -16,13 +16,22 @@ public class TdApi {
if (o == null) return false;
if (o == this) return true;
if (o instanceof Object) {
try {
return Arrays.equals(this.serialize(), o.serialize());
} catch (IOException ex) {
ex.printStackTrace();
}
}
return false;
}
public int hashCode() {
try {
return Arrays.hashCode(this.serialize());
} catch (IOException ex) {
ex.printStackTrace();
}
return 0;
}
public abstract int getConstructor();