in modules/core/src/main/java/org/apache/fluo/core/thrift/Stamps.java [316:345]
public int compareTo(Stamps other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetTxStampsStart(), other.isSetTxStampsStart());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetTxStampsStart()) {
lastComparison =
org.apache.thrift.TBaseHelper.compareTo(this.txStampsStart, other.txStampsStart);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetGcStamp(), other.isSetGcStamp());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetGcStamp()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gcStamp, other.gcStamp);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}