Пример #1
0
 public bool Equals(SetSplit <T> x, SetSplit <T> y)
 {
     return(x.Centers.SetEquals(y.Centers));
 }
Пример #2
0
 public int GetHashCode(SetSplit <T> split)
 {
     return(split.Centers.ElementAt(0).GetHashCode() ^ split.Centers.ElementAt(1).GetHashCode());
 }
Пример #3
0
 public bool Equals(SetSplit <T> setSplit)
 {
     return(Centers.SetEquals(setSplit.Centers));
 }