int (ArrayData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows()); if (lastComparison != 0) { return lastComparison; } if (isSetRows()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows); if (lastComparison != 0) { return lastComparison; } } lastComparison = java.lang.Boolean.compare(isSetCols(), other.isSetCols()); if (lastComparison != 0) { return lastComparison; } if (isSetCols()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cols, other.cols); if (lastComparison != 0) { return lastComparison; } } lastComparison = java.lang.Boolean.compare(isSetData(), other.isSetData()); if (lastComparison != 0) { return lastComparison; } if (isSetData()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.data, other.data); if (lastComparison != 0) { return lastComparison; } } return 0; }