in java/com/jetbrains/cef/remote/thrift_codegen/Cookie.java [721:819]
public int compareTo(Cookie other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetName()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.name, other.name);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetValue()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.value, other.value);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetDomain(), other.isSetDomain());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetDomain()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.domain, other.domain);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetPath(), other.isSetPath());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetPath()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.path, other.path);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetSecure(), other.isSetSecure());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSecure()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.secure, other.secure);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetHttponly(), other.isSetHttponly());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetHttponly()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.httponly, other.httponly);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetCreation(), other.isSetCreation());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCreation()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.creation, other.creation);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetLastAccess(), other.isSetLastAccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetLastAccess()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.lastAccess, other.lastAccess);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetExpires(), other.isSetExpires());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetExpires()) {
lastComparison = com.jetbrains.cef.remote.thrift.TBaseHelper.compareTo(this.expires, other.expires);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}