Update headers.txt
This commit is contained in:
parent
93b01456e5
commit
73e2a15473
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user