Exemple #1
0
 /// <summary>
 /// Returns an empty <see cref="ImmSet{T}"/> that uses this eq comparer.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="eq"></param>
 /// <returns></returns>
 public static ImmSet <T> CreateSet <T>(this IEqualityComparer <T> eq)
 {
     return(ImmSet <T> .Empty(eq));
 }
Exemple #2
0
 /// <summary>
 /// Returns an empty <see cref="ImmSet{T}"/> that uses default equality semantics.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 public static ImmSet <T> Empty <T>()
 {
     return(ImmSet <T> .Empty());
 }