AddAll() public method

Adds all the elements of the specified collection that are not present to the list.
public AddAll ( ICollection c ) : bool
c ICollection Collection where the new elements will be added
return bool
Beispiel #1
0
        /// <summary>
        /// Return items from given range.
        /// </summary>
        /// <param name="limit"></param>
        /// <returns></returns>
        public ISortedSet <T> TailSet(T limit)
        {
            TreeSet <T> retValue = new TreeSet <T>(Comparer);
            IDirectedCollectionValue <T> directedCollectionValue = RangeFrom(limit);

            retValue.AddAll(directedCollectionValue);
            return(retValue);
        }