int (ArrayHeaders other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.compare(isSetColHeaders(), other.isSetColHeaders()); if (lastComparison != 0) { return lastComparison; } if (isSetColHeaders()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colHeaders, other.colHeaders); if (lastComparison != 0) { return lastComparison; } } lastComparison = java.lang.Boolean.compare(isSetRowHeaders(), other.isSetRowHeaders()); if (lastComparison != 0) { return lastComparison; } if (isSetRowHeaders()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rowHeaders, other.rowHeaders); if (lastComparison != 0) { return lastComparison; } } return 0; }