/// <summary> /// Returns the union of the sequence with specified other sequence. /// </summary> /// <param name="otherSequence">The other sequence.</param> public OrderedSequence <T> Union(OrderedSequence <T> otherSequence) { return(new OrderedSequence <T>(_ft.Merge(otherSequence._ft))); }
/// <summary> /// Intersects the sequence with <paramref name="otherSequence"/>. /// </summary> /// <param name="otherSequence">The other sequence.</param> public OrderedSequence <T> Intersect(OrderedSequence <T> otherSequence) { return(new OrderedSequence <T>(_ft.Intersect(otherSequence._ft))); }
/// <summary> /// Indicates whether the current object is equal to another object of the same /// type. /// </summary> /// <returns> /// <c>true</c> if the current object is equal to the <paramref name="other" /> parameter; /// otherwise, <c>false</c>. /// </returns> /// <param name="other">An object to compare with this object.</param> public bool Equals(OrderedSequence <T> other) { return(Equals(other._ft, _ft)); }