/// <summary> /// Indicates whether the current object is equal to another object of the same type. /// <i>O(log(n))</i> /// </summary> /// <returns> /// true if the current object is equal to the <paramref name="other" /> parameter; otherwise, false. /// </returns> /// <param name="other">An object to compare with this object.</param> /// <remarks>It is possible to have two unequal sequences with the same elements.</remarks> public bool Equals(RandomAccessSequence <T> other) { return(Equals(other._ft, _ft)); }
/// <summary> /// Concatenates the sequence with another. /// </summary> /// <param name="otherSequence">Another sequence.</param> /// <returns>The result of concatenation.</returns> public RandomAccessSequence <T> Concat(RandomAccessSequence <T> otherSequence) { return(new RandomAccessSequence <T>(_ft + otherSequence._ft)); }