Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="source"></param>
 /// <param name="dest"></param>
 /// <returns></returns>
 public static bool AddAll(ICollection source, HashedSet dest)
 {
     return(dest.AddAll(source));
 }
 Clear <T>(HashedSet <T> collection)
 {
     collection.Clear();
 }
Beispiel #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="set"></param>
 /// <returns></returns>
 static public ISet UnmodifiableSet(ISet set)
 {
     return(HashedSet.ReadOnly(set));
 }