/// <summary> /// Two rows are equal if they contain the same pairs in the same order. /// </summary> public override bool Equals(Object o) { if (!(o is ExpandedRow)) { return(false); } ExpandedRow that = (ExpandedRow)o; return(Pairs.Equals(that.Pairs)); }
/// <summary> /// Two rows are equal if they contain the same pairs in the same order. /// </summary> override public bool Equals(Object o) { if (!(o is ExpandedRow)) { return(false); } ExpandedRow that = (ExpandedRow)o; return(Pairs.Equals(that.Pairs) && IsReversed == that.IsReversed); }
internal bool IsEquivalent(List <ExpandedPair> otherPairs) { return(Pairs.Equals(otherPairs)); }