示例#1
0
        public bool Equals(HackyHashSet <T> other)
        {
            if (Object.ReferenceEquals(other, null))
            {
                return(false);
            }

            if (Object.ReferenceEquals(this, other))
            {
                return(true);
            }

            return(set.Equals(other.set));
        }
示例#2
0
 public bool SetEquals(HackyHashSet <T> other, IEqualityComparer <T> comparer)
 {
     return(set.ToHashSet(comparer).SetEquals(other.set));
 }
示例#3
0
 public bool SetEquals(HackyHashSet <T> other)
 {
     return(set.SetEquals(other.set));
 }