public boolean equals(Object obj) {if (this == obj)return true;if (obj == null)return false;if (getClass() != obj.getClass())return false;MergeInfo other = (MergeInfo) obj;if (estimatedMergeBytes != other.estimatedMergeBytes)return false;if (isExternal != other.isExternal)return false;if (mergeMaxNumSegments != other.mergeMaxNumSegments)return false;if (totalMaxDoc != other.totalMaxDoc)return false;return true;}
public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (this.GetType() != obj.GetType()){return false;}MergeInfo other = (MergeInfo)obj;if (EstimatedMergeBytes != other.EstimatedMergeBytes){return false;}if (IsExternal != other.IsExternal){return false;}if (MergeMaxNumSegments != other.MergeMaxNumSegments){return false;}if (TotalDocCount != other.TotalDocCount){return false;}return true;}