int (notifyFinished_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.compare(isSetNeedsMoreInput(), other.isSetNeedsMoreInput()); if (lastComparison != 0) { return lastComparison; } if (isSetNeedsMoreInput()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.needsMoreInput, other.needsMoreInput); if (lastComparison != 0) { return lastComparison; } } lastComparison = java.lang.Boolean.compare(isSetExceptionOccurred(), other.isSetExceptionOccurred()); if (lastComparison != 0) { return lastComparison; } if (isSetExceptionOccurred()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.exceptionOccurred, other.exceptionOccurred); if (lastComparison != 0) { return lastComparison; } } return 0; }