@Override public boolean equals(Object obj) { if(!Utils.checkNullAndClass(this, obj)) { return false; } SortInfo other = (SortInfo)obj; return ( isGloballySorted == other.isGloballySorted && Utils.checkNullEquals(sortColInfoList, other.sortColInfoList, true)); }
@Override public boolean equals(Object obj) { if(!Utils.checkNullAndClass(this, obj)) { return false; } SortColInfo other = (SortColInfo)obj; return Utils.checkNullEquals(this.colName, other.colName, true) && this.colIndex == other.colIndex && this.sortOrder == other.sortOrder; }