Beispiel #1
0
 /// <summary>
 /// Returns a concatenation of this list with another list.
 /// </summary>
 /// <param name="other">The other list.</param>
 /// <returns>A concatenation of this list with another list.</returns>
 /// <exception cref="ArgumentNullException">
 /// <paramref name="other" /> is <see langword="null" />.
 /// </exception>
 public abstract ConsList <T> Add(ConsList <T> other);
Beispiel #2
0
 /// <summary>
 /// Checks whether every element of this list equals another list's corresponding element.
 /// The other list may be <see langword="null" />.
 /// </summary>
 /// <param name="other">The list to compare to. May be <see langword="null" />.</param>
 /// <returns>
 /// <see langword="true" /> if every element of this list equals another list's corresponding element.
 /// Otherwise, <see langword="false" />.
 /// </returns>
 /// <seealso cref="Equals(object)" />
 public abstract bool Equals(ConsList <T> other);